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 (65037, 64686, 64698, 64930) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00099

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": 41,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65037,64686,64698,64930)"
        }
      }
    },
    "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
33760 64686 product 0 45993 A 0 D 0 0 original-chain-14in-995-Raw-Copper-975-galvanized-SBK-standard-black.jpg 14" The Original™ Chain Hung, 995-Natural Raw Copper, Mounting in 975-Galvanized, SBK-Standard Black Cord 1000 1000 45993
47736 64930 product 0 59969 A 0 D 0 0 Avalon-chain-14in-100-black-WC-CSR.jpg 14" Avalon LED, 100-Black, Wire Cage, CSR-Red Cloth Cord 1000 1000 59969
62905 65037 product 0 75138 A 0 D 0 0 Avalon-chain-14in-100-black-CGG-FST-CSR.jpg 14" Avalon Nautical LED, 100-Black, CGG-Standard Cast Guard, FST-Frosted Glass, CSR-Red Cloth Cord 1000 1000 75138
35907 64698 product 0 48140 A 1 D 0 0 union-incandescent-full-build-chain-16in-100-black.jpg 16" Union, 100-Black, SBK-Standard Black Cord 1000 1000 48140
61472 64686 product 0 73705 A 1 D 0 0 original-chain-28in-975-galvanized-455-cherry-red-SBK-standard-black-cord.jpg 28" The Original™ Chain Hung, 975-Galvanized, Mounting in 400-Barn Red, SBK-Standard Black Cord 1000 1000 73705
62904 64930 product 0 75137 A 1 D 0 0 Avalon-LED-chain-full-build-16in-400-barn-red-100-black.jpg 16" Avalon LED, 400-Barn Red, Mounting in 100-Black, SBK-Standard Black Cord 1000 1000 75137
62906 65037 product 0 75139 A 1 D 0 0 Avalon-chain-14in-200-white-CSW-WCC-FST.jpg 14" Avalon Nautical LED, 200-White, WGG-Wire Guard, FST-Frosted Glass 1000 1000 75139
35899 64698 product 0 48132 A 2 D 0 0 Union-chain-16in-400-Barn-Red-WC-CSBW.jpg 16" Union, 400-Barn Red, Wire Cage, 975-Galvanized, CSBW-Black & White Cloth Cord 1000 1000 48132
51268 65037 product 0 63501 A 2 D 0 0 avalon-chain-16in-997-raw-brass-975-galvanized-csgw-tgg-rib.jpg 16" Avalon Nautical LED, 997-Natural Raw Brass, Mounting in 975-Galvanized, TGG-Heavy Duty Cast Guard, 975-Galvanized, RIB-Ribbed Glass, CSGW-Gold & White Cloth Cord 800 800 63501
62903 64930 product 0 75136 A 2 D 0 0 Avalon-chain-16in-997-raw-brass-975-galvanized-CSGW.jpg 16" Avalon LED, 997-Natural Raw Brass, Mounting in 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 75136
33749 64686 product 0 45982 A 3 D 0 0 original-chain-24in-Black-100-Charcoal-Granite-805-CSB-black-cloth-cord.jpg 24" The Original™ Chain Hung, 100-Black, Mounting in 805-Charcoal Granite, CSB-Black Cloth Cord 1000 1000 45982
35898 64698 product 0 48131 A 3 D 0 0 Union-chain-16in-200-white-CSW.jpg 16" Union, 200-White, CSW-White Cloth Cord 1000 1000 48131
72697 64930 product 0 84930 A 3 D 0 0 Avalon-42in-chain-490-magents-100-black-CSBP_e4m0-sm.jpg 42" Avalon LED, 490-Magenta, Mounting in 100-Black, CSBP-Black & Pink Cloth Cord 1000 1000 84930
33748 64686 product 0 45981 A 4 D 0 0 original-chain-16in-200-white-CSW-Acrylic-Diffuser-800-industrial-grey.jpg 16" The Original™ Chain Hung, 200-White, Acrylic Diffuser, 800-Industrial Grey, Mounting in 800-Industrial Grey, CSW-White Cloth Cord 1000 1000 45981
35905 64698 product 0 48138 A 4 D 0 0 Union-chain-10in-700-royal-CSUW.jpg 10" Union, 700-Royal Blue, CSUW-Blue & White Cloth Cord 1000 1000 48138
47735 64930 product 0 59968 A 4 D 0 0 Avalon-chain-12in-705-Navy-CRZ.jpg 12" Avalon LED, 705-Navy, CRZ-Red Chevron Cord 1000 1000 59968
35900 64698 product 0 48133 A 5 D 0 0 Union-chain-16in-975-galvanized-CSGW.jpg 16" Union, 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 48133
62901 64930 product 0 75134 A 5 D 0 0 Avalon-chain-16in-400-barn-red-SBK.jpg 16" Avalon LED, 400-Barn Red, SBK-Standard Black Cord 1000 1000 75134
35906 64698 product 0 48139 A 6 D 0 0 Union-chain-14in-307-emerald-green-CSB.jpg 14" Union, 307-Emerald Green, CSB-Black Cloth Cord 1000 1000 48139
47734 64930 product 0 59967 A 6 D 0 0 Avalon-10in-975-galvanized-CSBG.jpg 10" Avalon LED, 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 59967
35908 64698 product 0 48141 A 7 D 0 0 Union-chain-14in-705-navy-975-galvanized-CRZ.jpg 14" Union, 705-Navy, Mounting in 975-Galvanized, CRZ-Red Chevron Cord 1000 1000 48141
62902 64930 product 0 75135 A 7 D 0 0 Avalon-chain-16in-700-royal-CSUW.jpg 16" Avalon LED, 700-Royal Blue, CSUW-Blue & White Cloth Cord 1000 1000 75135
33747 64686 product 0 45980 A 8 D 0 0 original-chain-20in-500-Buttery-Yellow-CSBB-Black-Brown-Chevron-CSB-Black-Cloth-Cord.jpg 20" The Original™ Chain Hung, 500-Buttery Yellow, CSB-Black Cloth Cord 1000 1000 45980
47737 64930 product 0 59970 A 8 D 0 0 Avalon-chain-14in-200-white-CSW.jpg 14" Avalon LED, 200-White, CSW-White Cloth Cord 1000 1000 59970
61437 64698 product 0 73670 A 8 C 0 0 Union_Chain_Hung_Pendant_Light_-_350_Porcelain_Vintage_Green_Barn_Light_Electric_-_Interior_Lighting.jpg 16” Union, 350-Vintage Green, 3ft of Chain in 350-Vintage Green & SBK-Standard Black Cord (Also pictured: Round Schoolhouse Flush Mount Light) | Photo Courtesy of Avice Meehan 1500 2000 73670
47774 64930 product 0 60007 A 9 C 0 0 63296_avalon-chain-hung-vintage-green-galvanized-chain.jpg 14" Avalon LED, 350-Porcelain Vintage Green, Mounting in 975-Galvanized, CSGW-Gold & White Cloth Cord 853 1280 60007
61439 64698 product 0 73672 A 9 C 0 0 Union_Chain_Hung_Pendant_Light_-_350_Vintage_Green_Barn_Light_Electric_-_Hallway_Lighting.jpg 16” Union, 350-Vintage Green, 3ft of Chain in 350-Vintage Green & SBK-Standard Black Cord | Photo Courtesy of Avice Meehan 1500 2000 73672
33752 64686 product 0 45985 A 10 D 0 0 original-chain-28in-700-royal-blue-CSUW-200-white.jpg 28" The Original™ Chain Hung, 700-Royal Blue, Mounting in 200-White, CSUW-Blue & White Cloth Cord 1000 1000 45985
61440 64698 product 0 73673 A 10 C 0 0 Union_Chain_Hung_Pendant_Light_-_350_Porcelain_Vintage_Green_Barn_Light_Electric_-_Living_Room_Lighting.jpg 16” Union, 350-Vintage Green, 3ft of Chain in 350-Vintage Green & SBK-Standard Black Cord | Photo Courtesy of Avice Meehan 1500 2000 73673
33753 64686 product 0 45986 A 11 D 0 0 original-chain-16in-lavender-790-CMG.jpg 16" The Original™ Chain Hung, 790-Lavender, CMG-Grey Cloth Cord 1000 1000 45986
60864 64698 product 0 73097 A 11 C 0 0 Union_Chain_Hung_Pendant_Light_-_350_Porcelain_Vintage_Green_Barn_Light_Electric_-_Ceiling_Chain_Pendant_Lighting.jpg 16” Union, 350-Vintage Green, 3ft of Chain in 350-Vintage Green & SBK-Standard Black Cord | Photo Courtesy of Avice Meehan 1500 1489 73097
60358 64698 product 0 72591 A 12 C 0 0 Union_Chain_Hung_Pendant_Light_-_Barn_Light_Electric_-_Interior_Farmhouse_Chain_Pendant_Kitchen_Lighting.png 16” Union, 350-Vintage Green, 3ft of Chain in 350-Vintage Green & SBK-Standard Black Cord | Photo Courtesy of Customer 520 410 72591
33759 64686 product 0 45992 A 14 D 0 0 original-chain-14in-705-Navy-CRZ-red-chevron.jpg 14" The Original™ Chain Hung, 705-Navy, CRZ-Red Chevron Cord 1000 1000 45992
36570 64686 product 0 48803 A 16 C 0 0 original_chain_pendant_18in_teal_galvanized_chain.jpg 18” The Original™, 390-Teal, Galvanized Chain with CSB - Black Cloth Cord | Photo Courtesy of Halcyon Trade Building and Paul Body 1500 2261 48803
36572 64686 product 0 48805 A 17 C 0 0 original_chain_pendant_18in_teal_galvanized_chain3.jpg 18” The Original™, 390-Teal, Galvanized Chain with CSB-Black Cloth Cord | Photo Courtesy of Halcyon Trade Building and Paul Body 1500 2250 48805
36571 64686 product 0 48804 A 18 C 0 0 original_chain_pendant_18in_teal_galvanized_chain2.jpg 18” The Original™, 390-Teal, Galvanized Chain with CSB-Black Cloth Cord | Photo Courtesy of Halcyon Trade Building and Paul Body 1500 1094 48804
60869 64686 product 0 73102 A 19 C 0 0 Original™_Chain_Hung_Pendant_Light_-_975_galvanized_Barn_Light_Electric_-_Restaurant_Lighting.jpg 14” Original, 975-Galvanized, 3 ft of Chain, SBK-Standard Black Cord | Photo Courtesy of Camelback Resort 1500 1000 73102
60870 64686 product 0 73103 A 20 C 0 0 The_Original™_Chain_Hung_Pendant_Light_-_975_Galvanized_Barn_Light_Electric_-_Commercial_Restaurant_Lighting.jpg 14” Original, 975-Galvanized, 3 ft of Chain, SBK-Standard Black Cord | Photo Courtesy of Camelback Resort 1500 1390 73103
62160 64686 product 0 74393 A 21 C 0 0 chain_hung_barn_light_lrw7-wh.JPG 14" The Original™ Chain Hung, 380-Chartreuse, SWH-Standard White Cord | Photo Courtesy of Customer 1200 1600 74393
62159 64686 product 0 74392 A 22 C 0 0 chain_hung_barn_lighting.JPG 14" The Original™ Chain Hung, 380-Chartreuse, SWH-Standard White Cord | Photo Courtesy of Customer 1243 1608 74392
62175 64686 product 0 74408 A 23 C 0 0 Original_Chain_Hung_Pendant_12in_975_Galvanized_CMG3.jpg 12" The Original™ Chain Hung, 975-Galvanized, CMG-Grey Cloth Cord | Photo Courtesy of FKO Afterschool 1500 1129 74408