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 (65043, 64709, 64970, 64685) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00124

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": 53,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65043,64709,64970,64685)"
        }
      }
    },
    "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
33697 64685 product 0 45930 A 0 D 0 0 original-stem-18in-galvanized-975.jpg 18" The Original™ Stem Mount, 975-Galvanized, Hang Straight Canopy 1000 1000 45930
36060 64709 product 0 48293 A 0 D 0 0 bomber-stem-13in-450-cherry-red-100-black.jpg 13" Bomber, 455-Cherry Red, Mounting in 150-Black 1000 1000 48293
49829 64970 product 0 62062 A 0 D 0 0 union-LED-stem-10in-barn-red.jpg 10" Union LED, 400-Barn Red 1000 1000 62062
51388 65043 product 0 63621 A 0 D 0 0 bomber-stem-15in-250-white-WGG-RIB-100-black.jpg 15" Bomber Nautical LED, 250-White, WGG-Wire Guard, 150-Black, RIB-Ribbed Glass, Mounting in 250-White 1000 1000 63621
63250 65043 product 0 75483 A 0 D 0 0 bomber-stem-15in-400-barn-red-CGG-RIB.jpg 15" Bomber Nautical LED, 400-Barn Red, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 75483
63251 65043 product 0 75484 A 0 D 0 0 bomber-stem-15in-480-blush-pink-975-galvanized-CGG-FST.jpg 15" Bomber Nautical LED, 480-Blush Pink, CGG-Standard Cast Guard, 975-Galvanized, FST-Frosted Glass, Mounting in 975-Galvanized 1000 1000 75484
63252 65043 product 0 75485 A 0 D 0 0 bomber-stem-15in-705-navy-TGG-RIB.jpg 15" Bomber Nautical LED, 705-Navy, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 75485
35337 64685 product 0 47570 A 1 D 0 0 original-stem-14in-raw-copper-995.jpg 14" The Original™ Stem Mount, 995-Natural Raw Copper 1000 1000 47570
36070 64709 product 0 48303 A 1 D 0 0 bomber-stem-17in-998-Weathered-Brass.jpg 17" Bomber, 998-Natural Weathered Brass 1000 1000 48303
63532 64970 product 0 75765 A 1 D 0 0 union-LED-stem-16in-975-galvanized-WC-HSC.jpg 16" Union LED, 975-Galvanized, Wire Cage, Hang Straight Canopy 1000 1000 75765
33696 64685 product 0 45929 A 3 D 0 0 original-stem-16in-200-white-mint-370-acrylic-diffuser.jpg 16" The Original™ Stem Mount, 200-White, ACR-Acrylic Diffuser, 370-Mint 1000 1000 45929
36061 64709 product 0 48294 A 3 D 0 0 bomber-stem-15in-100-black-975-galvanized-WC-HSC.jpg 15" Bomber, 100-Black, Wire Cage, 975-Galvanized, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 48294
63533 64970 product 0 75766 A 3 D 0 0 union-LED-stem-16in-997-raw-brass-200-white.jpg 16" Union LED, 997-Natural Raw Brass, Mounting in 200-White 1000 1000 75766
34203 64685 product 0 46436 A 4 D 0 0 original-stem-28in-Royal-Blue.jpg 28" The Original™ Stem Mount, 700-Royal Blue 1000 1000 46436
36059 64709 product 0 48292 A 4 D 0 0 bomber-stem-13in-380-chartreuse-980-brushed-aluminum.jpg 13" Bomber, 380-Chartreuse, Mounting in 980-Brushed Aluminum 1000 1000 48292
49831 64970 product 0 62064 A 4 D 0 0 union-LED-stem-14in-705-navy.jpg 14" Union LED, 705-Navy 1000 1000 62064
36071 64709 product 0 48304 A 5 D 0 0 bomber-stem-Quick-Ship-13in-300-dark-green.jpg 13" Bomber, 300-Dark Green 1000 1000 48304
63531 64970 product 0 75764 A 5 D 0 0 union-LED-stem-16in-200-white.jpg 16" Union LED, 200-White 1000 1000 75764
61561 64685 product 0 73794 A 6 D 0 0 original-stem-QUICK-SHIP-100-black-wire-cage_xj8t-dk.jpg 16" The Original™ Stem Mount, 100-Black, Wire Cage 1000 1000 73794
33695 64685 product 0 45928 A 7 D 0 0 original-stem-12in-raw-brass-995-galvanized-975-CGG.jpg 12" The Original™ Stem Mount, 997-Natural Raw Brass, CGG-Standard Cast Guard, 975-Galvanized, RIB-Ribbed Glass, Mounting in 975-Galvanized 1000 1000 45928
36069 64709 product 0 48302 A 7 D 0 0 bomber-stem-17in-975-galvanized-100-black.jpg 17" Bomber, 975-Galvanized, Mounting in 100-Black 1000 1000 48302
33700 64685 product 0 45933 A 8 D 0 0 original-stem-24in-705-navy-brushed-aluminum.jpg 24" The Original™ Stem Mount, 705-Navy, Mounting in 980-Brushed Aluminum 1000 1000 45933
36067 64709 product 0 48300 A 8 D 0 0 bomber-stem-15in-480-blush-pink-975-galvanized.jpg 15" Bomber, 480-Blush Pink, Mounting in 975-Galvanized 1000 1000 48300
33701 64685 product 0 45934 A 9 D 0 0 original-stem-20in-buttery-yellow-500.jpg 20" The Original™ Stem Mount, 500-Buttery Yellow 1000 1000 45934
36068 64709 product 0 48301 A 9 D 0 0 old-dixie-11-inch-stem-mount-black.jpg 11" Bomber, 997-Natural Raw Brass, 12" Stem, 100-Black 600 600 48301
36072 64709 product 0 48305 A 10 D 0 0 olddixieedit.jpg 17" Bomber, 307-Emerald Green, 18" Stem, 975-Galvanized 600 600 48305
61560 64685 product 0 73793 A 10 D 0 0 original-stem-QUICK-SHIP-16in-300-Dark-green.jpg 16" The Original™ Stem Mount, 300-Dark Green 1000 1000 73793
62176 64709 product 0 74409 A 11 C 0 0 Bomber_Stem_Mount_Pendant_17in_355_Jadite_48instem_HSC.jpg 17" Bomber, 311-Jadite, 48" Stem, Hang Straight Canopy | Photo Courtesy of Bossy Sister Quilting 1500 1108 74409
33718 64685 product 0 45951 A 12 D 0 0 original-stem-28in-emerald-green-raw-brass.jpg 28" The Original™ Stem Mount, 307-Emerald Green, Mounting in 997-Natural Raw Brass, Decorative Canopy & Hex Cover 1000 1000 45951
69138 64709 product 0 81371 A 12 C 0 0 28F46B49-residential-interior-lighting-mudroom-Bomber-Flush-Mount-Pendant-13in-998-Weathered-Brass-Mounting-600-Bronze.jpg 13" Bomber, 998-Natural Weathered Brass, Mounting in 600-Bronze | Photo Courtesy of Customer 1500 1153 81371
33709 64685 product 0 45942 A 13 D 0 0 original-stem-16in-undustrial-grey-barn-red-wire-cage.jpg 16" The Original™ Stem Mount, 800-Industrial Grey, Wire Cage, 400-Barn Red, Mounting in 400-Barn Red 1000 1000 45942
36062 64709 product 0 48295 A 13 C 0 0 IMG_3755_(1024x872).jpg (3) 17" Bombers, 311-Jadite, 36" Stem, 980-Brushed Aluminum 1024 872 48295
61555 64685 product 0 73788 A 14 D 0 0 original-stem-24in-black.jpg The Original™ Stem Mount, 100-Black, Heavy Duty Canopy 1000 1000 73788
62274 64709 product 0 74507 A 14 D 0 0 Bomber_Stem_Mount_Pendant_15in_105_TexturedBlack_12instem_975-Galvanized.jpg 15" Bomber, 105-Textured Black, 12" Stem, 975-Galvanized | Photo Courtesy of J&J Photography 1500 1000 74507
33711 64685 product 0 45944 A 15 D 0 0 original-stem-14in-navy-705-weathered-brass.jpg 14" The Original™ Stem Mount, 705-Navy, Mounting in 998-Natural Weathered Brass 1000 1000 45944
62197 64709 product 0 74430 A 15 C 0 0 Bomber_Stem_MountPendant_13in_15in_100_Black_24instem.jpg 15" Bomber & 13" Bomber, 100-Black, 24" Stem, 975-Galvanized | Photo Courtesy of Homeowner 1500 2000 74430
65136 64685 product 0 77369 A 16 C 0 0 SBP84246-commercial-exterior-lighting-retail-store-Original-Stem-Mount-Pendant-16in-715-PTM-Delphite-Blue-24in-stem-Wire-Guard-975-Galvanized-Clear-Glass-Hang-Straight-Canopy.jpg 16" The Original™, 715-Delphite Blue, 24" Stem, Wire Guard, 975-Galvanized, Clear Glass, Hang Straight Canopy | Photo Courtesy of Something Blue Photography 1800 1200 77369
54160 64685 product 0 66393 A 17 C 0 0 original_stem_mount_100_black_18in3.jpg 18” The Original™, 100-Black Finish | Photo Courtesy of Tami Hutter from Infinity Farms 1500 1000 66393
47332 64709 product 0 59565 A 18 C 0 0 industrial_pendant_lighting_kitchen_lighting-768x1024-576x768.jpg 17" Bomber, 500-Buttery Yellow Powder Coat, 36” Stems | Photo courtesy of homeowner 576 768 59565
66014 64685 product 0 78247 A 18 C 0 0 barn_light_original_pendant.jpg 14" The Original™, 975-Galvanized, 18" Stem | Photo Courtesy of Our Feathered Farmhouse and Christy Stalnaker Photography 684 1024 78247
36569 64685 product 0 48802 A 19 C 0 0 original_stem_pendant_14in_975_galvanized_6instem_redcage.jpg (3) 14” The Original™, 975-Galvanized Finish, 6” Stem | 1/2” Diameter in 975-Galvanized finish, 14” Wire Cage in 400-Barn Red finish | Photo Courtesy of Halcyon Trade Building and Paul Body 1500 1604 48802
59482 64685 product 0 71715 A 20 C 0 0 The_Original™_Warehouse_Stem_Mount_Pendant_-_105_Textured_Black_Barn_Light_Electric_-_Commercial_Space_Interior_Lighting.jpg 12” The Original™, 105-Textured Black, 18” Stem (Also pictured: The Original™ Warehouse Gooseneck Light) | Photo Courtesy of Camp Kiniya and Ryan Bent Photography 1500 1000 71715
54161 64685 product 0 66394 A 21 C 0 0 original_stem_mount_100_black_18in2.jpg 18” The Original™, 100-Black Finish | Photo Courtesy of Tami Hutter from Infinity Farms 1500 1000 66394
33704 64685 product 0 45937 A 22 C 0 0 barn_pendant_light_exterior-1-567x768.jpg 12" The Original™, 100-Black, 12" Stem | Customer Submission 567 768 45937
54162 64685 product 0 66395 A 23 C 0 0 outdoor_lighting_pendant_lights-768x512.jpeg 18” The Original™, 100-Black Finish | Photo Courtesy of Tami Hutter from Infinity Farms 768 512 66395
60116 64685 product 0 72349 A 24 C 0 0 The_Original™_Warehouse_Stem_Mount_Pendant_-_Barn_Light_Electric_-_Front_Porch_Decor.JPG 16" The Original™, 100-Black, 12” Stem, Standard Canopy | Photo Courtesy of Veronica Wurtzel 795 1060 72349
33703 64685 product 0 45936 A 25 C 0 0 copper_pendant_lighting-768x576.jpg (3) 16" The Original™, 995-Natural Raw Copper, 6" Stems, 100-Black | Photo Courtesy of Iron & Wood 768 576 45936
33702 64685 product 0 45935 A 26 C 0 0 copper_lighting_american_made-576x768.jpg (3) 16" The Original™, 995-Natural Raw Copper, 24" Stem | Photo Courtesy of Luke Dubbeldam of Iron & Wood 576 768 45935
33706 64685 product 0 45939 A 27 C 0 0 Residential_Original_Stem_Mount_Pendant_100_Black_12_in_Shade.jpg 14" The Original™, 100-Black, 18" Stem | Photo Courtesy of Jill Absten Cox Design 1500 1125 45939
33707 64685 product 0 45940 A 28 C 0 0 original_stem_pendant_12in_white_18instem_galvmount3.jpg 12" The Original™, 200-White, 18" Stem, 975-Galvanized | Customer Submission 800 990 45940
33699 64685 product 0 45932 A 29 C 0 0 original-stem-mount-975-galvanized.jpg (6) 16" The Original™, 975-Galvanized | Photo Courtesy of Pinetop Custom Homes 900 600 45932
65137 64685 product 0 77370 A 30 C 0 0 SBP84240-commercial-exterior-lighting-retail-store-Original-Stem-Mount-Pendant-16in-715-PTM-Delphite-Blue-24in-stem-Wire-Guard-975-Galvanized-Clear-Glass-Hang-Straight-Canopy.jpg 16" The Original™, 715-Delphite Blue, 24" Stem, Wire Guard, 975-Galvanized, Clear Glass, Hang Straight Canopy | Photo Courtesy of Something Blue Photography 1200 1800 77370
68217 64685 product 0 80450 A 31 D 0 0 59_South_Street_60_photo-by-Peter_Murdock-residential-interior-lighting-garage-Original-Warehouse-Stem-Mount-28in-100-Black-48in-stem-Wire-Guard.jpg 28" The Original™, 100-Black, 48" Stem, Wire Guard | Photo Courtesy of Peter Murdock 2880 1845 80450