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 (
    62019, 62023, 62020, 62022, 62018, 65461, 
    65814, 65815, 65813
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00159

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": 58,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62019,62023,62020,62022,62018,65461,65814,65815,65813)"
        }
      }
    },
    "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
19323 62023 product 0 31045 A 0 D 0 0 Chestnut-Bantam-Sconce-8in-975-Galvanized.jpg 8" Bantam Chestnut, 975-Galvanized 1000 1000 31045
29786 62019 product 0 42009 A 0 D 0 0 chestnut-stem-12in-800-industrial-grey.jpg 12" Chestnut, 800-Industrial Grey, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 42009
30223 62022 product 0 42446 A 0 D 0 0 Chestnut-Wall-Sconce-12in-800-industrial-grey.jpg 12" Chestnut Wall Sconce, 800-Industrial Grey 1000 1000 42446
64764 62018 product 0 76997 A 0 D 0 0 chestnut-cord-16in-100-black-CSB-full-build.jpg 16" Chestnut, 100-Black, CSB-Black Cloth Cord 1000 1000 76997
69348 65814 product 0 81581 A 0 D 0 0 Chestnut-studio-pendant-30in-200-white-black-cloth-cord.jpg 30" Chestnut, 200-White, CSB-Black Cloth Cord 1000 1000 81581
69371 65813 product 0 81604 A 0 D 0 0 Chestnut-chain-pendant-30in-100-black-black-cloth-cord-400-barn-red-standard-guard-ribbed-glass.jpg 30" Chestnut, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, RIB-Ribbed Glass, Mounting in 400-Barn Red, CSB-Black Cloth Cord 1000 1000 81604
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
19215 62018 product 0 30927 A 1 D 0 0 chestnut-cord-8in-400-barn-red-swirl-cord.jpg 8" Chestnut, 400-Barn Red, Barn Red & Black Swirl Cloth Cord 1000 1000 30927
59105 65461 product 0 71338 A 1 D 0 0 chestnut-flush-mount-16in-300-dark-green-WC.jpg 16" Chestnut, 300-Dark Green, Wire Cage, 975-Galvanized 1000 1000 71338
64788 62020 product 0 77021 A 1 D 0 0 Chestnut-Gooseneck-16in-975-galvanized-G65.jpg 16" Chestnut, 975-Galvanized, G65 Gooseneck Arm 1000 1000 77021
64809 62022 product 0 77042 A 1 D 0 0 Chestnut-Wall-Sconce-16in-311-jadite.jpg 16" Chestnut Wall Sconce, 311-Jadite 1000 1000 77042
69353 65814 product 0 81586 A 1 D 0 0 Chestnut-studio-pendant-30in-full-build-311-jadite-black-and-white-cloth-cord.jpg 30" Chestnut, 311-Jadite, CSBW-Black & White Cloth Cord 1000 1000 81586
69374 65813 product 0 81607 A 1 D 0 0 Chestnut-chain-pendant-30in-311-jadite-brown-and-black-chevron-cord-standard-guard-ribbed-glass.jpg 30" Chestnut, 311-Jadite, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBB-Black & Brown Cloth Cord 1000 1000 81607
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
72672 62019 product 0 84905 A 1 D 0 0 Chestnut-stem-pendant-30in-full-build-311-jadite.jpg 30" Chestnut, 311-Jadite 1000 1000 84905
19181 62018 product 0 30893 A 2 D 0 0 chestnut-cord-16in-705-navy-975-galvanized-navy-cloth-cord.jpg 16" Chestnut, 705-Navy, Wire Cage, 975-Galvanized, Navy Cloth Cord 1000 1000 30893
19203 62020 product 0 30915 A 2 D 0 0 Chestnut-Gooseneck-8in-390-teal-G3.jpg 8" Chestnut, 390-Teal, G3 Straight Arm 1000 1000 30915
30222 62022 product 0 42445 A 2 D 0 0 Chestnut-Wall-Sconce-12in-200-white.jpg 12" Chestnut Wall Sconce, 200-White 1000 1000 42445
59101 65461 product 0 71334 A 2 D 0 0 chestnut-flush-mount-8in-400-barn-red.jpg 8" Chestnut, 400-Barn Red 1000 1000 71334
64829 62019 product 0 77062 A 2 D 0 0 chestnut-stem-16in-975-galvanized.jpg 16" Chestnut, 975-Galvanized 1000 1000 77062
69350 65814 product 0 81583 A 2 D 0 0 Chestnut-studio-pendant-30in-500-buttery-yellow-black-white-cloth-cord-standard-guard-ribbed-glass.jpg 30" Chestnut, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBG-Black & Gold Cloth Cord 1000 1000 81583
69372 65813 product 0 81605 A 2 D 0 0 Chestnut-chain-pendant-30in-200-white-black-cloth-cord.jpg 30" Chestnut, 200-White, Mounting in 100-Black, CSB-Black Cloth Cord 1000 1000 81605
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
19193 62019 product 0 30905 A 3 D 0 0 chestnut-stem-8in-390-teal.jpg 8" Chestnut, 390-Teal 1000 1000 30905
19332 62020 product 0 31054 A 3 D 0 0 Chestnut-Gooseneck-16in-100-black-G8.jpg 16" Chestnut, 100-Black, G8 Gooseneck Arm 1000 1000 31054
23131 62023 product 0 35042 A 3 D 0 0 Chestnut-Bantam-Sconce-8in-100-black.jpg 8" Bantam Chestnut, 100-Black 1000 1000 35042
29879 62018 product 0 42102 A 3 D 0 0 chestnut-cord-12in-200-white-CSW.jpg 12" Chestnut, 200-White, Standard White Cord 1000 1000 42102
64775 65461 product 0 77008 A 3 D 0 0 chestnut-flush-mount-16in-975-galvanized.jpg 16" Chestnut, 975-Galvanized 1000 1000 77008
64810 62022 product 0 77043 A 3 D 0 0 Chestnut-Wall-Sconce-16in-975-galvanized.jpg 16" Chestnut Wall Sconce, 975-Galvanized 1000 1000 77043
69349 65814 product 0 81582 A 3 D 0 0 Chestnut-studio-pendant-30in-390-teal-white-cloth-cord.jpg 30" Chestnut, 390-Teal, CSW-White Cloth Cord 1000 1000 81582
69373 65813 product 0 81606 A 3 D 0 0 Chestnut-chain-pendant-30in-300-dark-green-black-and-white-cloth-cord-100-black.jpg 30" Chestnut, 300-Dark Green, Mounting in 100-Black, CSBW-Black & White Cloth Cord 1000 1000 81606
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
21210 62023 product 0 33091 A 4 D 0 0 Chestnut-Bantam-Sconce-8in-400-barn-red.jpg 8" Bantam Chestnut, 400-Barn Red 1000 1000 33091
29696 62020 product 0 41919 A 4 D 0 0 Chestnut-Gooseneck-12in-200-G24.jpg 12" Chestnut, 200-White, G24 Gooseneck Arm 1000 1000 41919
44344 62018 product 0 56577 A 4 C 0 0 BLE-Tybee-chestnut-raw-copper-2014-02-104.jpg 12" Chestnut, 995-Natural Raw Copper, SBK-Standard Black Cord 1500 2275 56577
69347 65814 product 0 81580 A 4 D 0 0 Chestnut-studio-pendant-30in-100-black-red-cloth-cord-400-barn-red-standard-guard-clear-glass.jpg 30" Chestnut, 100-Black, CGG-Standard Cast Guard, 400-Barn Red, CLR-Clear Glass, CSR-Red Cloth Cord 1000 1000 81580
69376 65813 product 0 81609 A 4 D 0 0 Chestnut-chain-pendant-30in-500-buttery-yellow-black-and-gold-cloth-cord-975-galvanized-standard-guard-ribbed-glass.jpg 30" Chestnut, 500-Buttery Yellow, CGG-Standard Cast Guard, 975-Galvanized, RIB-Ribbed Glass, Mounting in 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 81609
69399 65815 product 0 81632 A 4 D 0 0 Chestnut-stem-pendant-30in-390-teal.jpg 30" Chestnut, 390-Teal 1000 1000 81632
59103 65461 product 0 71336 A 5 D 0 0 chestnut-flush-mount-12in-200-white-100-black.jpg 12" Chestnut, 200-White, Mounting in 100-Black 1000 1000 71336
63359 62018 product 0 75592 A 5 C 0 0 residential-interior-lighting-dining-room-chestnut-pendant-16in-995-Raw-Copper-CSB.jpeg 16" Chestnut, 995-Raw Copper, CSB-Black Cloth Cord | Photo Courtesy of Homeowner 960 1280 75592
69352 65814 product 0 81585 A 5 D 0 0 Chestnut-studio-pendant-30in-975-galvanized-gold-and-white-cloth-cord-heavy-duty-guard-ribbed-glass.jpg 30" Chestnut, 975-Galvanized, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass, CSGW-Gold & White Cloth Cord 1000 1000 81585
69375 65813 product 0 81608 A 5 D 0 0 Chestnut-chain-pendant-30in-390-teal-white-cloth-cord_jryr-d1.jpg 30" Chestnut, 390-Teal, CSW-White Cloth Cord 1000 1000 81608
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
64774 65461 product 0 77007 A 6 D 0 0 chestnut-flush-mount-16in-311-jadite.jpg 16" Chestnut, 311-Jadite 1000 1000 77007
69351 65814 product 0 81584 A 6 D 0 0 Chestnut-studio-pendant-30in-705-navy-blue-and-white-cloth-cord.jpg 30" Chestnut, 705-Navy, CSUW-Blue & White Cloth Cord 1000 1000 81584
69378 65813 product 0 81611 A 6 D 0 0 Chestnut-chain-pendant-30in-975-galvanized-red-and-white-cloth-cord-heavy-duty-guard-ribbed-glass.jpg 30" Chestnut, 975-Galvanized, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass, CSRW-Red & White Cloth Cord 1000 1000 81611
69401 65815 product 0 81634 A 6 D 0 0 Chestnut-stem-pendant-30in-705-navy.jpg 30" Chestnut, 705-Navy 1000 1000 81634
49156 62023 product 0 61389 A 7 C 0 0 Farmhouse-Style-Bathroom-High-Res-13-vanity.jpg 8" Bantam Chestnut Sconce, 975-Galvanized | Photo Courtesy of Kristi Mercer - Making It In The Mountains 800 1200 61389
69377 65813 product 0 81610 A 7 D 0 0 Chestnut-chain-pendant-30in-705-navy-gold-and-white-cloth-cord.jpg 30" Chestnut, 705-Navy, CSGW-Gold & White Cloth Cord 1000 1000 81610
49157 62023 product 0 61390 A 8 C 0 0 Farmhouse-Style-Bathroom-High-Res-20.jpg 8" Bantam Chestnut Sconce, 975-Galvanized | Photo Courtesy of Kristi Mercer - Making It In The Mountains 800 1200 61390
49158 62023 product 0 61391 A 9 C 0 0 Farmhouse-Style-Bathroom-High-Res-101.jpg 8" Bantam Chestnut Sconce, 975-Galvanized | Photo Courtesy of Kristi Mercer - Making It In The Mountains 800 1200 61391
64281 62020 product 0 76514 A 9 C 0 0 Laramie_Gooseneck_Light.png 8" Chestnut, 615-Oil Rubbed Bronze, G35 arm | Photo Courtesy of Homeowner 970 1250 76514
53859 62023 product 0 66092 A 10 C 0 0 IMG_0220_bantam_chestnut_wall_sconce_8in_butteryyellow.jpg 8” Bantam Chestnut Sconce, 500-Buttery Yellow | Photo Courtesy of Molly Dennis 3024 4032 66092
39714 62023 product 0 51947 A 11 C 0 0 Screen_Shot_2019-08-16_at_4.22.56_PM.png Bantam Chestnut Sconce, 975-Galvanized | Photo Courtesy of 5 Wharf KPT 533 600 51947
50307 62020 product 0 62540 A 12 C 0 0 chestnut-gooseneck-light-975-galvanized.jpg 16" Chestnut, 975-Galvanized, G15 Gooseneck Arm 1500 1000 62540
63360 62020 product 0 75593 A 13 C 0 0 residential-exterior-porch-deck-stairs-lighting-Chestnut-Gooseneck-Light-16in-200-White-G15arm-975-Galvanized.jpg 16" Chestnut, 200-White, G15 Gooseneck Arm in 975 Galvanized | Photo Courtesy of Homeowner 1500 1807 75593
59192 62020 product 0 71425 A 14 C 0 0 Chestnut_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper_Exterior_Garage_Lighting.jpg 8” Chestnut, 995-Natural Raw Copper, G3 Gooseneck Arm in 100-Black, Dusk-to-Dawn Photocell | Photo Courtesy of Homeowner 1477 1971 71425
30965 62020 product 0 43198 A 15 C 0 0 gooseneck_barn_lighting-512x768.jpg 16" Chestnut, 975-Galvanized, G15 Gooseneck Arm 512 768 43198