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 (64742, 64944, 64769, 64771) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00103

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 (64742,64944,64769,64771)"
        }
      }
    },
    "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
37645 64742 product 0 49878 A 0 D 0 0 sterling-cord-12in-400-barn-red-CRZ.jpg 12" Sterling, 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 49878
49272 64944 product 0 61505 A 0 D 0 0 Timber-Ore-Conoco-Draftsman-Pendant-Ash-Barn-Red-Black-Twist-Cord-Edison-Style-1890-Era-40-Watt-Bulb.jpg 12" Shade in 400-Barn Red, Ash Wood, TBK-Black Twist Cord, Canopy in 400-Barn Red (Shown with Edison 1890 Era Bulb) 1000 1000 61505
65010 64769 product 0 77243 A 0 D 0 0 sinclair-chain-14in-400-barn-red-CSRW.jpg 14" Sinclair, 400-Barn Red, CSRW-Red & White Cloth Cord, Nostalgic Edison-Style 1910 Era 60 Watt Light Bulb 1000 1000 77243
65020 64771 product 0 77253 A 0 D 0 0 sinclair-cord-10in-400-barn-red-CSB.jpg 10" Sinclair, 400-Barn Red, CSB-Black Cloth Cord, Nostalgic Edison-Style Victorian 40 Watt Light Bulb 1000 1000 77253
49019 64944 product 0 61252 A 1 D 0 0 Timber-Ore-Conoco-Draftsman-Pendant-Maple-Delphite-LED-T14-120-Lumen-Bulb.jpg 10" Shade in 765-Porcelain Delphite, Maple Wood, SWH-Standard White Cord (Shown with LED T14 120 Lumen Bulb) 1000 1000 61252
64409 64742 product 0 76642 A 1 D 0 0 sterling-cord-full-build-16in-100-black-CSB.jpg 16" Sterling, 100-Black, CSB-Black Cloth Cord 1000 1000 76642
65012 64769 product 0 77245 A 1 D 0 0 sinclair-chain-full-build-16in-250-white-100-black-csb.jpg 16" Sinclair, 250-Porcelain White, Mounting in 100-Black, CSB-Black Cloth Cord 1000 1000 77245
37650 64742 product 0 49883 A 2 D 0 0 sterling-cord-12in-975-galvanized-CSBW-CGG-RIB.jpg 12" Sterling, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSBW-Black & White Cloth Cord 1000 1000 49883
50911 64944 product 0 63144 A 2 D 0 0 Timber-Ore-Conoco-Draftsman-Pendant-Ash-Brass-Edison-30Watt-Hairpin-Bulb.jpg 12" Shade in 997-Natural Raw Brass, Ash Wood, CSGW-Gold & White Cloth Cord (Shown with Totem III Tala Lamp) 1000 1000 63144
65024 64771 product 0 77257 A 2 D 0 0 sinclair-cord-14in-307-emerald-green-CSBB.jpg 14" Sinclair, 307-Emerald Green, Wire Cage, 975-Galvanized, CSBB-Black & Brown Cloth Cord 1000 1000 77257
72706 64769 product 0 84939 A 2 D 0 0 Sinclair-28in-490-magenta-975-galvanized-CSGW-chain-alt.jpg 28" Sinclair, 490-Magenta, Mounting in 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 84939
37651 64742 product 0 49884 A 3 D 0 0 sterling-cord-16in-307-Emerald-CSGW-WC-975-galvanized.jpg 16" Sterling, 307-Emerald Green, Wire Cage, 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 49884
49271 64944 product 0 61504 A 3 D 0 0 Timber-Ore-Conoco-Draftsman-Pendant-Walnut-Magenta-Black-Pink-Cloth-Cord-LED-T14-120-Lumen-Bulb.jpg 12" Shade in 490-Magenta, Walnut Wood, CSBP-Black & Pink Cloth Cord, Walnut Canopy Cover (Shown with LED T14 120 Lumen Bulb) 1000 1000 61504
65007 64769 product 0 77240 A 3 D 0 0 sinclair-chain-10in-705-navy-CRZ.jpg 10" Sinclair, 705-Navy, CRZ-Red Chevron Cord, Nostalgic Edison-Style 1910 Era 60 Watt Light Bulb 1000 1000 77240
65023 64771 product 0 77256 A 3 D 0 0 sinclair-cord-14in-100-black-TRD.jpg 14" Sinclair, 100-Black, TRD-Red Cotton Twist Cord, Nostalgic Edison-Style Victorian 40 Watt Light Bulb 1000 1000 77256
37646 64742 product 0 49879 A 4 D 0 0 sterling-cord-14in-200-white-SWH.jpg 14" Sterling, 200-White, SWH-Standard White Cord 1000 1000 49879
49020 64944 product 0 61253 A 4 D 0 0 Timber-Ore-Conoco-Draftsman-Pendant-Walnut-Barn-Red-Brown-Twist-Cord-Edison-Style-1890-Era-40-Watt-Bulb.jpg 12" Shade in 400-Barn Red, Walnut Wood, TBR-Brown Twist Cord (Shown with Edison 1890 Era Bulb) 1000 1000 61253
65009 64769 product 0 77242 A 4 D 0 0 sinclair-chain-12in-997-raw-brass-100-black-CSBG.jpg 12" Sinclair, 997-Natural Raw Brass, Mounting in 100-Black, CSBG-Black & Gold Cloth Cord, Nostalgic Edison-Style 1910 Era 40 Watt Light Bulb 1000 1000 77242
65021 64771 product 0 77254 A 4 D 0 0 sinclair-cord-12in-480-blush-pink-CSGW.jpg 12" Sinclair, 480-Blush Pink, CSGW-Gold & White Cloth Cord, Nostalgic Edison-Style Victorian 40 Watt Light Bulb 1000 1000 77254
37648 64742 product 0 49881 A 5 D 0 0 sterling-cord-16in-705-navy-CRD.jpg 16" Sterling, 705-Navy, CSR-Red Cloth Cord 1000 1000 49881
38730 64769 product 0 50963 A 5 D 0 0 sinclair-chain-10in-307-emerald-green-CSGW.jpg 10" Sinclair, 307-Emerald Green, CSGW-Gold & White Cloth Cord, Nostalgic Edison-Style 1910 Era 60 Watt Light Bulb 1000 1000 50963
59003 64944 product 0 71236 A 5 C 0 0 Conoco_Draftsman_Wooden_Top_Pendant_Light_-_Barn_Light_Electric_-_Farmhouse_Kitchen_Sink_Light.jpg 10” Shade in 400-Barn Red, Walnut Wood, CSBG-Black & Gold Cloth Cord | Photo Courtesy of Lisa Davenport of LDD Interiors 1024 1365 71236
65025 64771 product 0 77258 A 5 D 0 0 sinclair-cord-14in-975-galvanized-CBP.jpg 14" Sinclair, 975-Galvanized, CSBP-Black & Pink Cloth Cord, Nostalgic Edison-Style 1910 Era 40 Watt Light Bulb 1000 1000 77258
59004 64944 product 0 71237 A 6 C 0 0 Conoco_Draftsman_Wooden_Top_Pendant_-_Barn_Light_Electric_-_Kitchen_Lighting.jpg 10” Shade in 400-Barn Red, Walnut Wood, CSBG-Black & Gold Cloth Cord | Photo Courtesy of Lisa Davenport of LDD Interiors 1024 1365 71237
65011 64769 product 0 77244 A 6 D 0 0 sinclair-chain-14in-975-galvanized-CSBW.jpg 14" Sinclair, 975-Galvanized, CSBW-Black & White Cloth Cord, Nostalgic Edison-Style Victorian 40 Watt Light Bulb 1000 1000 77244
65022 64771 product 0 77255 A 6 D 0 0 sinclair-cord-12in-500-buttery-yellow-TWH.jpg 12" Sinclair, 500-Buttery Yellow, TWH-White Cotton Twist Cord, Nostalgic Edison-Style 1910 Era 40 Watt Light Bulb 1000 1000 77255
65081 64742 product 0 77314 A 6 C 0 0 image_67187713-residential-interior-bathroom-sterling-pendant-light-16in-300-dark-green-brown-beige-chevron-twist-antlers.JPG 16" Sterling, 300-Dark Green, Brown Beige Chevron Twist | Photo Courtesy of Homeowner 3023 3655 77314
65082 64742 product 0 77315 A 6 C 0 0 IMG_6532-residential-interior-lighting-bathroom-vanity-Sterling-Pendant-16in-300-Dark-Green-TBB.jpg 16" Sterling, 300-Dark Green, Brown Beige Chevron Twist | Photo Courtesy of Homeowner 3008 3866 77315
49334 64944 product 0 61567 A 7 C 0 0 timber-ore-conoco-cord-pendant-residential-kitchen.jpg 12" Shade in 400-Barn Red, Ash Wood, SBK-Standard Black Cord 1500 2250 61567
65008 64769 product 0 77241 A 7 D 0 0 sinclair-chain-12in-500-buttery-yellow-975-galvanized-CSW.jpg 12" Sinclair, 500-Buttery Yellow, Mounting in 975-Galvanized, CSW-White Cloth Cord, Nostalgic Edison-Style Victorian 40 Watt Light Bulb 1000 1000 77241
65026 64771 product 0 77259 A 7 D 0 0 sinclair-cord-16in-765-delphite-CMG.jpg 16" Sinclair, 765-Porcelain Delphite, CMG-Grey Cloth Cord, Nostalgic Edison-Style Victorian 40 Watt Light Bulb 1000 1000 77259
49855 64769 product 0 62088 A 8 C 0 0 JAGR_Projects___jagrprojects_.png (3) 14” Sinclair, 355-Jadite, 210-White Chain & SWH-Standard White Cord | Photo Courtesy of JAGR Projects @jagrprojects 561 408 62088
55434 64944 product 0 67667 A 8 C 0 0 RR-Early_Avery_Rafterhouse_kitchen_2.jpg (2) 12" Shade in 100-Black, Ash Wood, CSB-Black Cloth Cord | Photo Courtesy of Early Avery - Rafterhouse and Roehner+Ryan 1500 2000 67667
66993 64771 product 0 79226 A 8 C 0 0 BarnLight_DGHV1095-commercial-interior-lighting-restaurant-Sinclair-Draftsman-Pendant-10in-SBK-110-PTM-Porcelain-Black.jpg 10" Sinclair, Standard Black Cord, 110 Paint to Match Porcelain Black 7360 4912 79226
55435 64944 product 0 67668 A 9 C 0 0 RR-Early_Avery_Rafterhouse_light_detail.jpg (2) 12" Shade in 100-Black, Ash Wood, CSB-Black Cloth Cord | Photo Courtesy of Early Avery - Rafterhouse and Roehner+Ryan 1500 1125 67668
61361 64771 product 0 73594 A 9 C 0 0 Sinclair_Draftsman_Pendant_Light_-_250_Porcelain_White_Barn_Light_Electric_-_Interior_Pendant_Lighting.jpg 14" shade, 250-White, CSBW-Black & White Cloth Cord | Photo Courtesy of Proper Wit Design 1500 1000 73594
38762 64771 product 0 50995 A 10 C 0 0 skylark_shallow_bowl_pendant_raw_copper_10in_TBW_whitemount3.jpg (4) 10" Sinclair, 995-Natural Raw Copper, TBW-Black & White Chevron Twist Cord, 200-White Canopy Finish | Photo Courtesy of Harper & Hicks 1500 1058 50995
55433 64944 product 0 67666 A 10 C 0 0 RR-Early_Avery_Rafterhouse_kitchen_1.jpg (2) 12" Shade in 100-Black, Ash Wood, CSB-Black Cloth Cord | Photo Courtesy of Early Avery - Rafterhouse and Roehner+Ryan 1500 1125 67666
38763 64771 product 0 50996 A 11 C 0 0 skylark_shallow_bowl_pendant_raw_copper_10in_TBW_whitemount4.jpg (4) 10" Sinclair, 995-Natural Raw Copper, TBW-Black & White Chevron Twist Cord, 200-White Canopy Finish | Photo Courtesy of Harper & Hicks 1500 1087 50996
61362 64771 product 0 73595 A 12 C 0 0 Sinclair_Draftsman_Pendant_Light_-_Barn_Light_Electric_-_Retail_Lighting.jpg 14" shade, 250-White, CSBW-Black & White Cloth Cord | Photo Courtesy of Proper Wit Design 1005 1005 73595
38766 64771 product 0 50999 A 13 C 0 0 coco-and-kelly-sinclair-draftsmans.jpg 10" Sinclair, 250-Porcelain White | Featured on Coco + Kelly blog, photo courtesy of Belathée 600 850 50999
48371 64771 product 0 60604 A 14 C 0 0 ceiling_pendant_lighting__1024x1024_.jpg 14" shade, 400-Barn Red, TRW-Red & White Twist Cord | Photo Courtesy of Homeowner 1024 1024 60604