SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  cscart_images.image_id as images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id 
  LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id 
  AND cscart_common_descriptions.object_holder = 'images' 
  AND cscart_common_descriptions.lang_code = 'en' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN (
    65673, 65560, 65674, 65815, 65732, 65804, 
    65102, 65597, 65610, 65598, 65873
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
        "table": {
          "table_name": "cscart_images_links",
          "access_type": "range",
          "possible_keys": ["object_id"],
          "key": "object_id",
          "key_length": "81",
          "used_key_parts": ["object_id", "object_type", "type"],
          "rows": 62,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65673,65560,65674,65815,65732,65804,65102,65597,65610,65598,65873)"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "3",
      "used_key_parts": ["image_id"],
      "ref": ["cscart_migrate.cscart_images_links.detailed_id"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_images_links.detailed_id = cscart_images.image_id)"
    },
    "table": {
      "table_name": "cscart_common_descriptions",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "107",
      "used_key_parts": ["object_id", "lang_code", "object_holder"],
      "ref": ["cscart_migrate.cscart_images.image_id", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'en' and trigcond(cscart_images.image_id is not null))"
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_type show_gallery gallery_category_id image_path alt image_x image_y images_image_id
62223 65102 product 0 74456 A 0 D 0 0 sinclair-28in-400-barn-red-stem-alt.jpg 28" Sinclair Stem Mount, 400-Barn Red 1000 1000 74456
62501 65560 product 0 74734 A 0 D 0 0 Newport-100-black-standard-canopy-stem.jpg Newport Stem Mount Pendant Light, 100-Black, Decorative Hex Cover 1000 1000 74734
62502 65560 product 0 74735 A 0 D 0 0 Newport-307-emerald-green-975-galvanized-hangstraight-canopy-stem.jpg Newport Stem Mount Pendant Light, 307-Emerald Green, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 74735
62503 65560 product 0 74736 A 0 D 0 0 Newport-400-barn-red-standard-canopy-stem.jpg Newport Stem Mount Pendant Light, 400-Barn Red, Decorative Hex Cover 1000 1000 74736
62504 65560 product 0 74737 A 0 D 0 0 Newport-975-galvanized-standard-canopy-100-black-stem.jpg Newport Stem Mount Pendant Light, 975-Galvanized, Mounting in 100-Black 1000 1000 74737
62764 65560 product 0 74997 A 0 C 0 0 Residential-Interior-Kitchen-Farmhouse-Modern-Newport-100-black-stem-hang-straight-canopy.jpg Newport Stem Mount Pendant Light, 100-Black, Hang Straight Canopy 1500 1200 74997
64560 65598 product 0 76793 A 0 D 0 0 f5c12847-eb50-4d9b-99e9-7dabce853542.jpg 20" Fontana Stem Mount Pendant Light 1000 1000 76793
64628 65610 product 0 76861 A 0 D 0 0 2935de61-93f6-461d-983d-566f6cb69d03.jpg Russo Stem Mount Pendant Light, Soft White and Polished Brass 1000 1000 76861
66362 65674 product 0 78595 A 0 D 0 0 elliptical-stem-11in-300-dark-green.jpg 11" Elliptical, 300-Dark Green, Heavy Duty Stem Mount Canopy 1000 1000 78595
66375 65673 product 0 78608 A 0 D 0 0 emblem-stem-14in-400-barn-red.jpg 14" Emblem, 400-Barn Red 1000 1000 78608
68052 65732 product 0 80285 A 0 D 0 0 Avalon-42in-Stem-500-buttery-yellow975-galvanized.jpg 42" Avalon, 500-Buttery Yellow, Mounting in 975-Galvanized 1000 1000 80285
69322 65804 product 0 81555 A 0 D 0 0 Laramie-stem-pendant-30in-200-white-100-black.jpg 30" Laramie, 200-White, Mounting in 100-Black 1000 1000 81555
69397 65815 product 0 81630 A 0 D 0 0 Chestnut-stem-pendant-30in-100-black-400-barn-red-standard-guard-clear-glass.jpg 30" Chestnut, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass 1000 1000 81630
70288 65873 product 0 82521 A 0 D 0 0 Duo-Loma-stem-pendant-8in-200-white-ash-wood-ring-Green-Creative-G40-double-layer-bulbs.jpg 10" Duo, 200-White, Walnut Wood Ring, Shown with LED Double Layer G40 250 Lumen Bulb 1000 1000 82521
62220 65102 product 0 74453 A 1 D 0 0 sinclair-28in-615-oil-rubbed-bronze-stem-alt.jpg 28" Sinclair Stem Mount, 615-Oil-Rubbed Bronze 1000 1000 74453
64538 65597 product 0 76771 A 1 D 0 0 261c8695-905c-4ba6-9a60-54fa3f6d7310.jpg 12" Copeland, OB-Old Bronze 800 800 76771
66369 65674 product 0 78602 A 1 D 0 0 elliptical-stem-15in-975-galvanized-swivel.jpg 15" Elliptical, 975-Galvanized, Swivel Knuckle 1000 1000 78602
66371 65673 product 0 78604 A 1 D 0 0 emblem-stem-10in-307-emerald-green.jpg 10" Emblem, 307-Emerald Green 1000 1000 78604
68047 65732 product 0 80280 A 1 D 0 0 Avalon-42in-Stem-100-black-full-build.jpg 42" Avalon, 100-Black 1000 1000 80280
69323 65804 product 0 81556 A 1 D 0 0 Laramie-stem-pendant-30in-full-build-311-jadite.jpg 30" Laramie, 311-Jadite 1000 1000 81556
69403 65815 product 0 81636 A 1 D 0 0 Chestnut-stem-pendant-30in-full-build-311-jadite.jpg 30" Chestnut, 311-Jadite 1000 1000 81636
72025 65873 product 0 84258 A 1 D 0 0 Duo-Loma-stem-pendant-14in-995-raw-copper-630-Beige.jpg 14" Duo, Top in 995-Natural Raw Copper, Bottom in 630-Beige, Bottom Interior in 995-Natural Raw Copper, Mounting in 630-Beige 1000 1000 84258
62221 65102 product 0 74454 A 2 D 0 0 sinclair-28in-975-galvanized-stem-alt.jpg 28" Sinclair Stem Mount, 975-Galvanized, Shown with Noma LED Tala Lamp 1000 1000 74454
64530 65597 product 0 76763 A 2 D 0 0 31b6954c-2dc5-471b-8faa-f2945d8865f8.jpg 12" Copeland, SN-Satin Nickel 800 800 76763
66363 65674 product 0 78596 A 2 D 0 0 elliptical-stem-11in-490-magenta-975-galvanized-HSC.jpg 11" Elliptical, 490-Magenta, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 78596
66373 65673 product 0 78606 A 2 D 0 0 emblem-stem-14in-100-black.jpg 14" Emblem, 100-Black 1000 1000 78606
68051 65732 product 0 80284 A 2 D 0 0 Avalon-42in-Stem-490-magenta-100-black.jpg 42" Avalon, 490-Magenta, Mounting in 100-Black 1000 1000 80284
69324 65804 product 0 81557 A 2 D 0 0 Laramie-stem-pendant-30in-100-black-400-barn-red-standard-guard-clear-glass.jpg 30" Laramie, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass 1000 1000 81557
69400 65815 product 0 81633 A 2 D 0 0 Chestnut-stem-pendant-30in-500-buttery-yellow-standard-guard-ribbed-glass.jpg 30" Chestnut, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 81633
72000 65873 product 0 84233 A 2 D 0 0 Duo-Loma-stem-pendant-8in-630-beige-705-navy.jpg 10" Duo, Top in 630-Beige, Bottom in 705-Navy, Bottom Interior in 630-Beige, Mounting in 630-Beige 1000 1000 84233
64531 65597 product 0 76764 A 3 D 0 0 1cc96c26-8970-4695-a6a3-ca30bcb72e3f.jpg 12" Copeland, AGB-Aged Brass 800 800 76764
66365 65674 product 0 78598 A 3 D 0 0 elliptical-stem-13in-500-buttery-yellow.jpg 13" Elliptical, 500-Buttery Yellow 1000 1000 78598
68048 65732 product 0 80281 A 3 D 0 0 Avalon-42in-Stem-200-white.jpg 42" Avalon, 200-White 1000 1000 80281
68775 65102 product 0 81008 A 3 D 0 0 sinclair-28in-995-raw-copper-100-black-stem-alt.jpg 28" Sinclair Stem Mount, 995-Natural Raw Copper, Mounting in 100-Black, Shown with Voronoi I LED Tala Lamp 1000 1000 81008
69327 65804 product 0 81560 A 3 D 0 0 Laramie-stem-pendant-30in-500-buttery-yellow-standard-guard-ribbed-glass.jpg 30" Laramie, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 81560
69398 65815 product 0 81631 A 3 D 0 0 Chestnut-stem-pendant-30in-300-dark-green-100-black.jpg 30" Chestnut, 300-Dark Green, Mounting in 100-Black 1000 1000 81631
72003 65873 product 0 84236 A 3 D 0 0 Duo-Loma-stem-pendant-14in-975-galvanized-Tala-bulb-voroni-I.jpg 14" Duo, 975-Galvanized, Ash Wood Ring, Shown with Voronoi I Tala Lamp 1000 1000 84236
62222 65102 product 0 74455 A 4 D 0 0 sinclair-28in-100-black-stem-alt.jpg 28" Sinclair Stem Mount, 100-Black 1000 1000 74455
66367 65674 product 0 78600 A 4 D 0 0 elliptical-stem-15in-400-barn-red-100-black.jpg 15" Elliptical, 400-Barn Red, Mounting in 100-Black 1000 1000 78600
66374 65673 product 0 78607 A 4 D 0 0 emblem-stem-14in-390-teal-975-galvanized-HSC.jpg 14" Emblem, 390-Teal, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 78607
68049 65732 product 0 80282 A 4 D 0 0 Avalon-42in-Stem-307-emerald-green.jpg 42" Avalon, 307-Emerald Green 1000 1000 80282
69325 65804 product 0 81558 A 4 D 0 0 Laramie-stem-pendant-30in-300-dark-green-100-black.jpg 30" Laramie, 300-Dark Green, Mounting in 100-Black 1000 1000 81558
69399 65815 product 0 81632 A 4 D 0 0 Chestnut-stem-pendant-30in-390-teal.jpg 30" Chestnut, 390-Teal 1000 1000 81632
70290 65873 product 0 82523 A 4 D 0 0 Duo-Loma-stem-pendant-8in-997-raw-brass-300-dark-green-Tala-oval-bulb.jpg 10" Duo, Top in 997-Natural Raw Brass, Bottom in 300-Dark Green, Bottom Interior in 997-Natural Raw Brass, Mounting in 300-Dark Green, Shown with Oval LED Tala Lamp 1000 1000 82523
66364 65674 product 0 78597 A 5 D 0 0 elliptical-stem-13in-390-teal-200-white.jpg 13" Elliptical, 390-Teal, Mounting in 200-White 1000 1000 78597
66376 65673 product 0 78609 A 5 D 0 0 emblem-stem-14in-500-buttery-yellow-swivel.jpg 14" Emblem, 500-Buttery Yellow, Swivel Knuckle 1000 1000 78609
68053 65732 product 0 80286 A 5 D 0 0 Avalon-42in-Stem-975-galvanized.jpg 42" Avalon, 975-Galvanized 1000 1000 80286
68774 65102 product 0 81007 A 5 D 0 0 sinclair-28in-490-magenta-100-black-stem-alt.jpg 28" Sinclair Stem Mount, 490-Magenta, Mounting in 100-Black 1000 1000 81007
69328 65804 product 0 81561 A 5 D 0 0 Laramie-stem-pendant-30in-975-galvanized.jpg 30" Laramie, 975-Galvanized 1000 1000 81561
69402 65815 product 0 81635 A 5 D 0 0 Chestnut-stem-pendant-30in-975-galvanized-heavy-duty-guard-ribbed-glass.jpg 30" Chestnut, 975-Galvanized, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 81635
72002 65873 product 0 84235 A 5 D 0 0 Duo-Loma-stem-pendant-14in-320-fern-green-997-raw-brass.jpg 14" Duo, 320-Fern Green, Bottom Interior in 997-Natural Raw Brass, Mounting in 997-Natural Raw Brass 1000 1000 84235
62224 65102 product 0 74457 A 6 D 0 0 sinclair-28in-705-navy-stem-alt.jpg 28" Sinclair Stem Mount, 705-Navy 1000 1000 74457
66366 65674 product 0 78599 A 6 D 0 0 elliptical-stem-15in-100-black.jpg 15" Elliptical, 100-Black 1000 1000 78599
68050 65732 product 0 80283 A 6 D 0 0 Avalon-42in-Stem-400-barn-red.jpg 42" Avalon, 400-Barn Red 1000 1000 80283
68121 65674 product 0 80354 A 6 C 0 0 elliptical-stem-swivel-knuckle-200-white.jpg 11" Elliptical, 200-White, Swivel Knuckle 1500 2000 80354
69326 65804 product 0 81559 A 6 D 0 0 Laramie-stem-pendant-30in-390-teal.jpg 30" Laramie, 390-Teal 1000 1000 81559
69401 65815 product 0 81634 A 6 D 0 0 Chestnut-stem-pendant-30in-705-navy.jpg 30" Chestnut, 705-Navy 1000 1000 81634
72001 65873 product 0 84234 A 6 D 0 0 Duo-Loma-stem-pendant-8in-815-light-grey-607-taupe-walnut-wood-ring.jpg 10" Duo, Top in 815-Light Grey, Bottom in 607-Taupe, Walnut Wood Ring, Mounting in 607-Taupe 1000 1000 84234
68130 65732 product 0 80363 A 7 C 0 0 avalon-oversized-stem-pendant-42in-100-black-residential-interior-dining-room-table-vaulted-ceilings-pet-dog-alt.jpg 42" Avalon, 100-Black 1500 2250 80363
69422 65732 product 0 81655 A 7 C 0 0 oversized-avalon.jpg 42" Avalon, 100-Black | Photo Courtesy of Customer 1458 964 81655
72177 65873 product 0 84410 A 7 C 0 0 Duo-Loma-14in-stem-pendant-residential-kitchen-100-black-ash-wood-ring-noma-tala-lamp.jpg 14" Duo, 100-Black, Ash Wood Ring, Shown with the Noma LED Tala Lamp 2000 1333 84410
72179 65873 product 0 84412 A 8 C 0 0 Duo-Loma-ymVuAO_oJMs-14in-430-Soft-Clay-200-White-Porcelain-II-Tala-Bulb.jpg 14" Duo, Top in 430-Soft Clay, Bottom in 200-White, Mounting in 200-White, Shown with Porcelain III Tala Lamp 2000 1333 84412