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 (60726, 60732, 60736, 60742) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00098

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": 38,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (60726,60732,60736,60742)"
        }
      }
    },
    "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
33590 60726 product 0 45823 A 0 D 0 0 G1-400-barn-red-gooseneck.jpg G1 Gooseneck Arm, 400-Barn Red 1000 1000 45823
33624 60742 product 0 45857 A 0 D 0 0 elliptical-gooseneck-13in-390-teal-980-brushed-aluminum-G14.jpg 13" Elliptical, 390-Teal, G14 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 45857
61193 60732 product 0 73426 A 0 D 0 0 The_Original™_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_G4_Gooseneck_Arm.jpg G4 Gooseneck Arm (Displayed here: 12" The Original™, 997-Natural Raw Brass, G4 Gooseneck Arm, 975-Galvanized) 1000 1000 73426
62331 60736 product 0 74564 A 0 D 0 0 G8-705-navy-gooseneck.jpg G8 Gooseneck Arm, 705-Navy 1000 1000 74564
56382 60726 product 0 68615 A 1 D 0 0 G1-100-black-gooseneck.jpg G1 Gooseneck Arm, 100-Black 1000 1000 68615
61182 60742 product 0 73415 A 1 D 0 0 The_Original™_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Weathered_Brass.jpg 14” Original™ LED, 998-Natural Weathered Brass, G14 Gooseneck Arm 1000 1000 73415
61732 60732 product 0 73965 A 1 C 0 0 The_Original™_LED_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper.jpg G4 Gooseneck Arm (Displayed Here: 14” Original™ LED, 995-Raw Copper, G4 Gooseneck Arm) 1000 1000 73965
62332 60736 product 0 74565 A 1 D 0 0 G8-700-royal-blue-gooseneck.jpg G8 Gooseneck Arm, 700-Royal Blue 1000 1000 74565
56389 60726 product 0 68622 A 2 D 0 0 G1-765-delphite-gooseneck.jpg G1 Gooseneck Arm, 765-Delphite Blue 1000 1000 68622
57279 60732 product 0 69512 A 2 C 0 0 Wilcox_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Porch_Lighting.png G4 Gooseneck Arm (Displayed Here: 8” Wilcox Gooseneck, 100-Black, G4 Gooseneck Arms) 768 512 69512
62333 60736 product 0 74566 A 2 D 0 0 G8-100-Black-gooseneck.jpg G8 Gooseneck Arm, 100-Black 1000 1000 74566
64761 60742 product 0 76994 A 2 D 0 0 tuscany-Gooseneck-705-navy-980-brushed-aluminim-G14.jpg Tuscany Gooseneck, 705-Navy, G14 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 76994
33721 60742 product 0 45954 A 3 D 0 0 marathon-LED-gooseneck-16in-490-magenta-980-brushed-aluminum-G14.jpg 16" Marathon LED, 490-Magenta, G14 Gooseneck Arm, 980-Brushed Aluminum 1000 1000 45954
57234 60726 product 0 69467 A 3 C 0 0 Canal_Gooseneck_Light_-_100_Black_Barn_Light_Electric_-_Interior_Modern_Kitchen_Sink_Lighting_er4s-ho.jpg G1 Gooseneck Arm (Displayed Here: Canal Gooseneck Light, 100-Black Exterior with Custom Interior Finish, G1 Gooseneck Arm | Photo Courtesy of Ashley Brochu @themainesprucehouse) 1500 1500 69467
64294 60736 product 0 76527 A 3 C 0 0 image3-commercial-exterior-lighting-store-post-mount-Original-Warehouse-Gooseneck-Light-18in-100-Black-G8-arm.jpeg G8 Gooseneck Arm (Displayed here: 18" Original Gooseneck Post Mount, 100-Black | Photo Courtesy of Business Owner 1421 1895 76527
58542 60726 product 0 70775 A 4 C 0 0 Dino_Gooseneck_Light_-_420_Orange_Barn_Light_Electric_-_Colorful_Exterior_Lighting.jpg G1 Gooseneck Arm (Displayed Here: 12" Dino, 420-Orange, G1 Gooseneck Arm | Photo Courtesy of Hacheuve) 1500 1004 70775
64124 60736 product 0 76357 A 4 C 0 0 1049239_image0-residential-exterior-garage-lighting-Original-Gooseneck-16in-106-Matte-Black-G8arm.jpeg G8 Gooseneck Arm (Displayed Here: (3) Original Gooseneck Lights, 106-Matte Black | Photo Courtesy of Homeowner 1409 1163 76357
67566 60742 product 0 79799 A 4 C 0 0 image2-residential-exterior-lighting-barn-Union-Nautical-LED-Gooseneck-14in-106-Matte-Black-G14arm-Wire-Guard-Clear-Glass-Decorative-BP-Hex-Cover_c5hs-sl.jpeg G14 Gooseneck Arm (14" Union Nautical LED Gooseneck, 106-Matte Black, G14 Arm, Wire Guard, Clear Glass, Decorative Backing Plate, Hex Cover | Customer Submission) 2905 2793 79799
33605 60736 product 0 45838 A 5 C 0 0 decatur_kitchen_4.jpg G8 Gooseneck Arm (Displayed Here: 12" Fire Chief, 200-White with 100-Black, G8 Gooseneck Arms | Photos Courtesy of Jennifer Lee Kessler - jenniferkesslerphotography.com) 900 1280 45838
61717 60726 product 0 73950 A 5 C 0 0 Union_Gooseneck_Light_-_975_Galvanized_Barn_Light_Electric_-_Front_Door_Lighting_6ctm-sf.jpg G1 Gooseneck Arm (Displayed here: 12” Union, 975-Galvanized, G1 Gooseneck Arm | Photo Courtesy of Traction Architecture and Ryan Gamma Photography) 1500 1075 73950
33589 60726 product 0 45822 A 6 C 0 0 barn_light_originals-576x768_2rhe-lz.jpg G1 Gooseneck Arm (Displayed Here: 16" Original™ Warehouse Gooseneck Light, 100-Black, G1 Gooseneck Arm | Customer Submission) 576 768 45822
57391 60736 product 0 69624 A 6 C 0 0 Marathon_Gooseneck_Light_-_Barn_Light_Electric_-_Dining_Room_Table_Lighting_Decor.jpeg G8 Gooseneck Arm (Displayed Here: (5) 12" Marathon Gooseneck Lights, 100-Black, G8 Gooseneck Arms | Photo Courtesy of HGTV’s Hidden Potential TV Show) 616 822 69624
65620 60742 product 0 77853 A 6 C 0 0 IMG_1635-residential-exterior-lighting-on-porch-Original-Warehouse-Gooseneck-14in-105-Textured-Black-G14arm.jpg G14 Gooseneck Arm (Displayed here: The Original™ Warehouse Gooseneck, 14" Shade, 105-Textured Black, G14 Arm) Customer Submission 633 789 77853
57392 60736 product 0 69625 A 7 C 0 0 Marathon_Gooseneck_Arms_-_100_Black_Barn_Light_Electric_-_Dining_Room_Decor.jpg G8 Gooseneck Arm (Displayed Here: (5) 12" Marathon Gooseneck Lights, 100-Black, G8 Gooseneck Arms | Photo Courtesy of HGTV’s Hidden Potential TV Show) 1500 1125 69625
60373 60742 product 0 72606 A 7 C 0 0 The_Original™_Warehouse_Gooseneck_Light_-_100_Black_Barn_Light_Electric_-_Exterior_Building_Lighting.jpg G14 Gooseneck Arm (Displayed here: 20” The Original™, 100-Black, G14 Gooseneck Arm | Photo Courtesy of 55 Mountain, LLC and Louis Barr Photography) 1500 1000 72606
33677 60742 product 0 45910 A 8 C 0 0 led_gooseneck_barn_lights-432x768.jpg G14 Gooseneck Arm (Displayed Here: 16" The Original™ LED, 975-Galvanized, G14 Gooseneck Arm | Customer Submission) 432 768 45910
37852 60736 product 0 50085 A 8 C 0 0 Barn_Light_Electric_-_Bullet_Gooseneck_Light__100_Black__rlqm-rd.jpg G8 Gooseneck Arm (Displayed Here: 4 Bullet Gooseneck LED Sign Light in 100-Black Finish and G8 Gooseneck Arm in 100-Black Finish. Photo Courtesy of Urban Greens Co-op ) 1500 2216 50085
51992 60726 product 0 64225 A 8 C 0 0 Raili_CA_Clasen_-_Original™_Warehouse_Goosenecks_-_G1_Gooseneck_Arms_-_Laundry_Room_.png G1 Gooseneck Arm (Displayed Here: (3) 14” The Original™, 800-Industrial Grey, G1 Straight Gooseneck Arm | Photo Courtesy of Raili CA Design) 478 597 64225
56050 60726 product 0 68283 A 9 C 0 0 Beth_Dana_Design_-_100_Black_Barn_Light_Electric_-_Front_Porch_Lighting.jpg G1 Gooseneck Arm (Displayed Here: 14” The Original™, 100-Black, G1 Straight Gooseneck Arm | Photo Courtesy of Beth Dana Design www.bethdana.com) 1500 1500 68283
58294 60742 product 0 70527 A 9 C 0 0 Rochester_Vintage_Industrial_Gooseneck_Light_-_100_Black_Barn_Light_Electric_-_Exterior_Barn_Lighting_8hjk-qt.jpg G14 Straight Gooseneck Arm (Displayed Here: 18” Rochester, 100-Black, Heavy Duty Guard in 100-Black, Clear Glass, G14 Straight Gooseneck Arm | Photo Courtesy of Stag Valley Farms) 1500 2000 70527
56385 60726 product 0 68618 A 10 C 0 0 Wilcox_Gooseneck_Light_with_G1_Straight_Arm_-_Barn_Light_Electric_-_Exterior_Wall_Mounted_Lighting.jpg G1 Gooseneck Arm (Displayed Here:(2) 12" Wilcox, 105-Textured Black, G1 Gooseneck Arms | Photo Courtesy of Maggie Peirson Designs) 522 768 68618
57393 60742 product 0 69626 A 10 C 0 0 Dominion_Gooseneck_Light_-_975_Galvanized_Barn_Light_Electric_-_Barn_Exterior_Lighting_u7dn-ih.jpg G14 Gooseneck Arm (Displayed Here: 14” Dominion, 975-Galvanized, G14 Straight Gooseneck Arm, CGG-Standard Cast Guard in Galvanized, Ribbed Glass | Photo Courtesy of Customer) 1500 1887 69626
56111 60726 product 0 68344 A 11 C 0 0 union_gooseneck_light_10in_galvanized_G1straightarm-residential-exterior-door_pm2f-sk.jpg G1 Gooseneck Arm (Displayed Here: 10” Union, 975-Galvanized, G1 Straight Gooseneck Arm | Photo Courtesy of Homeowner) 3024 4032 68344
66750 60742 product 0 78983 A 11 C 0 0 IMG_3571-residential-exterior-lighting-garage-shed-Union-LED-Gooseneck-12in-650-Bronze-G14arm-Domed-Lens_rqh2-gm.jpg G14 Gooseneck Arm (Displayed here: 12" Union LED, 650-Bronze, Domed Lens) | Customer Submission 1882 1616 78983
33588 60726 product 0 45821 A 12 C 0 0 gooseneck_light_bathroom_lighting-659x768_drab-nt.jpg G1 Gooseneck Arm (Displayed Here: 12" Original™ Warehouse Gooseneck Light, 200-White, G16 Gooseneck Arm in 975-Galvanized | Customer Submission) 659 768 45821
59977 60726 product 0 72210 A 13 C 0 0 The_Original™_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Garage_Lighting_2vz2-zw.png G1 Gooseneck Arm (Displayed Here: 18” Original™, 996-Natural Weathered Copper, G1 Gooseneck Arm | Photo Courtesy of Revival Construction) 474 562 72210
60031 60726 product 0 72264 A 14 C 0 0 The_Original_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Garage_Lighting_div0-93.JPG G1 Gooseneck Light (Displayed here: 16” Original™, 105-Textured Black, G1 Straight Gooseneck Arm in 975-Galvanized | Photo Courtesy of Mindy Shorts and 4 Bears in the Hills, LLC) 1122 1496 72264
60032 60726 product 0 72265 A 15 C 0 0 The_Original™_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Lighting-Edited_bi4o-zw.jpg G1 Gooseneck Arm (Displayed here: 16” Original™, 105-Textured Black, G1 Straight Gooseneck Arm in 975-Galvanized | Photo Courtesy of Mindy Shorts and 4 Bears in the Hills, LLC) 1124 844 72265