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 (64698, 64731, 64968, 65045) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00128

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": 34,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64698,64731,64968,65045)"
        }
      }
    },
    "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
37390 64731 product 0 49623 A 0 D 0 0 Avalon-10in-975-galvanized-CSBG.jpg 10" Avalon, 975-Galvanized, Mounting in 100-Black, CSBG-Black & Gold Cloth Cord 1000 1000 49623
51424 65045 product 0 63657 A 0 D 0 0 bomber-chain-13in-998-weathered-brass-CGG-100-black.jpg 13" Bomber Nautical LED, 998-Natural Weathered Brass, CGG-Standard Cast Guard, 100-Black, RIB-Ribbed Glass, Mounting in 100-Black, SBK-Standard Black Cord 1000 1000 63657
63263 64968 product 0 75496 A 0 D 0 0 bomber-chain-LED-100-Black-full-build.jpg 17" Bomber LED, 100-Black, SBK-Standard Black Cord 1000 1000 75496
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
37392 64731 product 0 49625 A 1 D 0 0 Avalon-chain-14in-100-black-WC-CSR.jpg 14" Avalon, 100-Black, Wire Cage, CSR-Red Cloth Cord 1000 1000 49625
49746 64968 product 0 61979 A 1 D 0 0 bomber-chain-13in-998-weathered-brass-100-black_x6q8-6n.jpg 13" Bomber LED, 998-Natural Weathered Brass, Mounting in 100-Black, CSBB-Black & Brown Chevron Cord 1000 1000 61979
63265 65045 product 0 75498 A 1 D 0 0 bomber-chain-15in-400-barn-red-CGG-SBK.jpg 15" Bomber Nautical LED, 400-Barn Red, CGG-Standard Cast Guard, SBK-Standard Black Cord 1000 1000 75498
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
37391 64731 product 0 49624 A 2 D 0 0 Avalon-chain-full-build-16in-400-barn-red-100-black.jpg 16" Avalon, 400-Barn Red, Mounting in 100-Black, SBK-Standard Black Cord 1000 1000 49624
63262 64968 product 0 75495 A 2 D 0 0 bomber-chain-17in-975-galvanized-CSB.jpg 17" Bomber LED, 975-Galvanized, CSB-Black Cloth Cord 1000 1000 75495
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
37395 64731 product 0 49628 A 3 D 0 0 avalon-chain-16in-997-raw-brass-975-galvanized-csgw-tgg-rib.jpg 16" Avalon, 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 49628
63266 65045 product 0 75499 A 3 D 0 0 bomber-chain-15in-705-navy-TGG-CRZ.jpg 15" Bomber Nautical LED, 705-Navy, TGG-Heavy Duty Cast Guard, CRZ-Red Chevron Cord 1000 1000 75499
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
72696 64731 product 0 84929 A 4 D 0 0 Avalon-42in-chain-490-magents-100-black-CSBP.jpg 42" Avalon, 490-Magenta, Mounting in 100-Black, CSBP-Black & Pink Cloth Cord 1000 1000 84929
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
37397 64731 product 0 49630 A 5 D 0 0 Avalon-chain-16in-975-galvanized-CSBP.jpg 16" Avalon, 975-Galvanized, CSBP-Black & Pink Cloth Cord 1000 1000 49630
49743 64968 product 0 61976 A 5 D 0 0 bomber-chain-11in-765-delphite-SWH.jpg 11" Bomber LED, 715-Delphite, SWH-Standard White Cord 1000 1000 61976
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
37393 64731 product 0 49626 A 6 D 0 0 Avalon-chain-12in-705-Navy-CRZ-CGG-RIB.jpg 12" Avalon, 705-Navy, CGG-Standard Cast Guard, RIB-Ribbed Glass, CRZ-Red Chevron Cord 1000 1000 49626
49745 64968 product 0 61978 A 6 D 0 0 bomber-chain-15in-400-barn-red-SBK-standard-black.jpg 15" Bomber LED, 400-Barn Red, Wire Cage, SBK-Standard Black Cord 1000 1000 61978
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
37389 64731 product 0 49622 A 7 D 0 0 Avalon-8in-500-buttery-yellow-CSB.jpg 8" Avalon, 500-Buttery Yellow, CSB-Black Cloth Cord 1000 1000 49622
63261 64968 product 0 75494 A 7 D 0 0 bomber-chain-15in-700-Royal-Blue-CSUW-blue-white.jpg 15" Bomber LED, 700-Royal Blue, CSUW-Blue & White Cloth Cord 1000 1000 75494
37396 64731 product 0 49629 A 8 D 0 0 Avalon-chain-16in-400-barn-red-SBK.jpg 16" Avalon, 400-Barn Red, SBK-Standard Black Cord 1000 1000 49629
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
37394 64731 product 0 49627 A 9 D 0 0 Avalon-chain-14in-200-white-CSW-WCC-FST.jpg 14" Avalon, 200-White, WGG-Wire Guard, FST-Frosted Glass, SWH-Standard White Cord 1000 1000 49627
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
45360 64731 product 0 57593 A 10 C 0 0 avalon_chain_hung_16in_750_cobaltblue_blackcord_blackcage12.jpg 16” Avalon, 715-Cobalt Blue, WC-Wire Cage in 150-Black, 150-Black Chain & Standard Black Cord | Photo Courtesy of Stephanie Hunt, Blake Peterson Photography and Sentient Lasers 1500 2250 57593
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
45361 64731 product 0 57594 A 11 C 0 0 avalon_chain_hung_16in_750_cobaltblue_blackcord_blackcage10.jpg 16” Avalon, 715-Cobalt Blue, WC-Wire Cage in 150-Black, 150-Black Chain & Standard Black Cord | Photo Courtesy of Stephanie Hunt, Blake Peterson Photography and Sentient Lasers 1500 2250 57594
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
37398 64731 product 0 49631 A 12 C 0 0 avalon-chain-hung-vintage-green-galvanized-chain.jpg 16" Avalon, 350-Vintage Green, White Chain & Gold and White Cloth Cord 853 1280 49631
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