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 (64340, 61387, 61388, 64339) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00108

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": 42,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64340,61387,61388,64339)"
        }
      }
    },
    "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
62313 61388 product 0 74546 A 0 D 0 0 g36-industrial-grey.jpg G36 Adjustable 2-Arm Heavy Duty Gooseneck, 800-Industrial Grey 1000 1000 74546
62314 61388 product 0 74547 A 0 D 0 0 g36-white.jpg G36 Adjustable 2-Arm Heavy Duty Gooseneck Arm, 200-White 1000 1000 74547
62315 61388 product 0 74548 A 0 D 0 0 g36-black.jpg G36 Adjustable 2-Arm Heavy Duty Gooseneck Arm, 100-Black 1000 1000 74548
62316 61387 product 0 74549 A 0 D 0 0 G40-800-industrial-grey-gooseneck.jpg G40 Gooseneck Arm, 800-Industrial Grey 1000 1000 74549
62322 64339 product 0 74555 A 0 D 0 0 G64-975-galvanized-gooseneck.jpg G64 Gooseneck Arm, 975-Galvanized 1000 1000 74555
62325 64340 product 0 74558 A 0 D 0 0 G65-100-black-gooseneck.jpg G65 Gooseneck Arm, 100-Black 1000 1000 74558
62317 61387 product 0 74550 A 1 D 0 0 G40-200-white-gooseneck.jpg G40 Gooseneck Arm, 200-White 1000 1000 74550
62323 64339 product 0 74556 A 1 D 0 0 G64-400-barn-red-gooseneck.jpg G64 Gooseneck Arm, 400-Barn Red 1000 1000 74556
62326 64340 product 0 74559 A 1 D 0 0 G65-200-white-gooseneck.jpg G65 Gooseneck Arm, 200-White 1000 1000 74559
62318 61387 product 0 74551 A 2 D 0 0 G40-100-black-gooseneck.jpg G40 Gooseneck Arm, 100-Black 1000 1000 74551
62324 64339 product 0 74557 A 2 D 0 0 G64-200-white-gooseneck.jpg G64 Gooseneck Arm, 200-White 1000 1000 74557
62327 64340 product 0 74560 A 2 D 0 0 G65-975-galvanized-gooseneck.jpg G65 Gooseneck Arm, 975-Galvanized 1000 1000 74560
33744 64340 product 0 45977 A 3 C 0 0 chain-hung-gooseneck-black-bomber-1024x683-768x512.jpg G65 Gooseneck Arm (Displayed Here: Bomber Gooseneck Light, 100-Black 768 512 45977
56047 64339 product 0 68280 A 3 C 0 0 gooseneck_barn_lighting_exterior-1.jpg G64 Gooseneck Arm 
(Displayed Here: 14" The Original™ Warehouse Gooseneck Light, 100-Black, G64 Gooseneck Arm in 975-Galvanized | Photo Courtesy of Shauna from The House of Silver Lining) 683 1024 68280
58094 61388 product 0 70327 A 3 C 0 0 Original_LED_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Post_Top_LED_Lighting_pfhn-9p.PNG G36 Adjustable 2 Arm Heavy Duty Gooseneck Arm (Displayed Here: 20” Original LED, 100-Black, G36 Gooseneck Arm in 975-Galvanized, 1250 Lumen LED, 2700K-Warm White Color Temperature, Domed LED Lens | Photo Courtesy of High Street Real Estate Development and Long Sales AR) 736 975 70327
68024 61387 product 0 80257 A 3 D 0 0 g40-800-industrial-grey.jpg G40 Gooseneck Arm, 800-Industrial Grey 1000 1000 80257
33594 61388 product 0 45827 A 4 C 0 0 original-warehouse-g2-kelp-sushi-joint_tk5u-pt.jpg G36 Adjustable 2 Arm Heavy Duty Gooseneck Arm (Displayed Here: 20" Original™ Warehouse Gooseneck Light, 800-Industrial Grey, G36 Gooseneck Arm | Customer Submission, Kelp Sushi Joint, Tampa, FL) 600 900 45827
49914 64339 product 0 62147 A 4 C 0 0 Barn_Light_Electric_-_G64_Gooseneck_Arm__1_.jpg G64 Gooseneck Arm 
(Displayed Here: 16" The Original™ Gooseneck, M103-Marine Grade Black , 975-Galvanized Gooseneck Arm) 768 708 62147
56386 64340 product 0 68619 A 4 C 0 0 Wilcox_Deep_Bowl_Gooseneck_with_G65_Arm_-_Exterior_Wall_Mounted_Lighting_-_Barn_Light_Electric.jpg G65 Gooseneck Arm (Displayed Here: (4) 16” Wilcox, M103-Marine Grade Black, G65 Gooseneck Arm in 975-Galvanized, Dusk-to-Dawn Photocell | Photo Courtesy of Mandi Gubler at Vintage Revivals) 1000 1498 68619
68022 61387 product 0 80255 A 4 D 0 0 g40-100-black.jpg G40 Gooseneck Arm, 100-Black 1000 1000 80255
52140 64339 product 0 64373 A 5 C 0 0 original_gooseneck_16in_ORcopper_G64arm_black_arm4-_1_.jpg G64 Gooseneck Arm 
(Displayed Here: 16" The Original™ Gooseneck, 999-Natural Oil-Rubbed Copper Shade, 100-Black Gooseneck Arm) 2374 2124 64373
56118 61388 product 0 68351 A 5 C 0 0 galvanized_gooseneck_lighting_outdoor-667x1000-512x768.jpg G36 Adjustable 2 Arm Heavy Duty Gooseneck Arm (Displayed Here: 16” Union Gooseneck Light, 975-Galvanized, G36 Gooseneck Arm | Photo Courtesy of Brevard Zoo) 512 768 68351
57032 64340 product 0 69265 A 5 C 0 0 Aero_Gooseneck_Light_-_150_Porcelain_Black_Barn_Light_Electric_-_Chain_Supported_Gooseneck_Exterior_Black_Lighting_ubtf-50.jpg G65 Gooseneck Arm (Displayed Here: 16” Aero, 100-Black, G65 Gooseneck Arm | Photos Courtesy of Homeowner) 1500 1576 69265
68023 61387 product 0 80256 A 5 D 0 0 g40-705-navy.jpg G40 Gooseneck Arm, 705-Navy 1000 1000 80256
54233 64339 product 0 66466 A 6 C 0 0 wilcox_gooseneck_14in_615_oilrubbedcopper_G64arm4-residential-interior-living-room-fire-place-beach_vun5-l1.jpg G64 Gooseneck Arm 
(Displayed Here: 14” Wilcox, 999-Natural Oil-Rubbed Copper, G64 Gooseneck Arm | Photo Courtesy of D’Asign Source) 1500 2250 66466
58093 61388 product 0 70326 A 6 C 0 0 Original_LED_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_LED_Lighting_razy-dg.PNG G36 Adjustable 2 Arm Heavy Duty Gooseneck Arm (Displayed Here: 20” Original LED, 100-Black, G36 Gooseneck Arm in 975-Galvanized, 1250 Lumen LED, 2700K-Warm White Color Temperature, Domed LED Lens | Photo Courtesy of High Street Real Estate Development and Long Sales AR) 729 984 70326
58493 64340 product 0 70726 A 6 C 0 0 Original_Warehouse_Gooseneck_Light_-_100_Black_Barn_Light_Electric_-_Modern_Exterior_Farmhouse_Gooseneck_Barn_Lighting_wgm1-e0.jpg G65 Gooseneck Arm (Displayed Here: 24” Original™ , 100-Black, G65 Gooseneck Arm in 975-Galvanized | Photo Courtesy of Homeowner) 1500 1178 70726
68025 61387 product 0 80258 A 6 D 0 0 g40-200-white.jpg G40 Gooseneck Arm, 200-White 1000 1000 80258
33691 61388 product 0 45924 A 7 C 0 0 original_gooseneck_24_inch_200_white_g36_g40.jpg G36 Adjustable 2 Arm Heavy Duty Gooseneck Arm (24" Original Gooseneck Light in 200-White with a G36 Gooseneck Arm) 600 429 45924
54234 64339 product 0 66467 A 7 C 0 0 wilcox_gooseneck_14in_615_oilrubbedcopper_G64arm2-residential-interior-living-room-fire-place-beach_yhdq-81.jpg G64 Gooseneck Arm 
(Displayed Here: 14” Wilcox, 999-Natural Oil-Rubbed Copper, G64 Gooseneck Arm | Photo Courtesy of D’Asign Source) 1500 2250 66467
62407 64340 product 0 74640 A 7 C 0 0 Original_Gooseneck_Light_16in_455_CherryRed_G65arm_975-Galvanized_CGG_975-Galvanized_ClearGlass5.jpg G65 Gooseneck Arm (Displayed Here: 16” Original™, 455-Cherry Red, CGG-Standard Cast Guard, 975-Galvanized, G65 Gooseneck Arm in 975-Galvanized) 1500 1562 74640
68016 61387 product 0 80249 A 7 C 0 0 residential-interior-lighting-on-kitchen-sink-Wilcox-Deep-Bowl-Gooseneck-12in-106-Matte-Black-G40arm-Acrylic-Diffuser_wb8u-b7.jpg G40 Gooseneck Arm, 12" Wilcox Deep Bowl Gooseneck, 106-Matte Black, Acrylic Diffuser | Customer Submission 4032 3024 80249
53844 61388 product 0 66077 A 8 C 0 0 playalinda-brewing-company-barn-light-electric-original-warehouse-gooseneck-oil-rubbed-copper-g36-arm.jpg G36 Adjustable 2 Arm Heavy Duty Gooseneck Arm (Displayed Here: (2) 18” The Original™, 999-Natural Oil Rubbed Copper, G36 Gooseneck Arm in 975-Galvanized | Photo Courtesy of Playalinda Brewing Company Brix Project) 1500 2250 66077
56053 64339 product 0 68286 A 8 C 0 0 Bomber_Porcelain_LEDGooseneck_17in_150_Black_G64arm_110-Black_1250_lumen_3000K_domed_lens5-residential-exterior-garage-doors-shiplap-farmhouse.jpg G64 Gooseneck Arm 
(Displayed Here:17” Bomber LED, M103-Marine Grade Black, G64 Gooseneck Arm | Photo Courtesy of Eva Shockey) 1500 1000 68286
56051 64339 product 0 68284 A 9 C 0 0 Bomber_Porcelain_LEDGooseneck_17in_150_Black_G64arm_110-Black_1250_lumen_3000K_domed_lens3-residential-exterior-garage-doors-shiplap-siding-farmhouse.jpg G64 Gooseneck Arm 
(Displayed Here: 17” Bomber LED, M103-Marine Grade Black, G64 Gooseneck Arm | Photo Courtesy of Eva Shockey) 1500 2250 68284
61809 61388 product 0 74042 A 9 C 0 0 The_Original™_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_950_Porcelain_Metallic_Chrome.jpg G36 Adjustable 2-Arm Heavy Duty Gooseneck Arm (Displayed here: 20” The Original™, 950-Metallic Chrome, G36 Gooseneck Arm | Photo Courtesy of Stars & Stripes Drive-In Theatre) 1500 1153 74042
61808 61388 product 0 74041 A 10 C 0 0 The_Original™_Warehouse_Gooseneck_-_Barn_Light_Electric_-_Porcelain_950_Metallic_Chrome.jpg G36 Adjustable 2-Arm Heavy Duty Gooseneck Arm (Displayed here: 20” The Original™, 950-Metallic Chrome, G36 Gooseneck Arm | Photo Courtesy of Stars & Stripes Drive-In Theatre) 1500 1125 74041
67216 61388 product 0 79449 A 10 C 0 0 BarnLight_DGHV0259-commercial-interior-lighting-restaurant-Original-Warehouse-Gooseneck-Light-20in-940-Painted-Aged-Copper-G36arm-975-Galvanized_9d5a-qn.jpg G36 Adjustable 2-Arm Heavy Duty Gooseneck Arm (Displayed here: 20" The Original™ Gooseneck Light, 940-Painted Aged Copper, G36 Arm, Galvanized) Location: Don Gallo Mexican Grill 6726 4341 79449
58890 64339 product 0 71123 A 11 C 0 0 Aero_LED_Gooseneck_Light_-_100_Black_Barn_Light_Electric_-_Commercial_Exterior_Lighting_7hui-d7.jpg G64 Gooseneck Arm (Displayed Here: 12” Aero LED, 100-Black, G64 Gooseneck Arm, 1250 Lumen LED, 3500K-Neutral White Color Temperature, Flat LED Lens | Photo Courtesy of TAC and FSA Lighting) 1500 1463 71123
61882 64339 product 0 74115 A 12 C 0 0 Wilcox_Gooseneck_Light_-_550_Yellow_Barn_Light_Electric_-_Porcelain_Yellow.jpg G64 Gooseneck Arm (Displayed here: 14” Wilcox, 550-Yellow, G64 Gooseneck Arm | Photo Courtesy of Homeowner) 1500 2000 74115
60029 64339 product 0 72262 A 13 C 0 0 The_Original_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Home_Lighting_3lrm-zb.jpg G64 Gooseneck Arm (Displayed here: 16” Original™, 999-Oil-Rubbed Copper, G64 Gooseneck Arm in 100-Black | Photo Courtesy of Mindy Shorts and 4 Bears in the Hills, LLC) 1242 1221 72262
60030 64339 product 0 72263 A 14 C 0 0 The_Original_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Front_Porch_Modern_Lighting_ke5k-hv.jpg G64 Gooseneck Arm (Displayed here: 16” Original™, 999-Natural Oil-Rubbed Copper, G64 Gooseneck Arm in 100-Black | Photo Courtesy of Mindy Shorts and 4 Bears in the Hills, LLC) 1242 1188 72263