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 = 'M' 
  AND cscart_images_links.object_id IN (
    64617, 60736, 64615, 62252, 61336, 62253, 
    64614, 60731, 60726, 60750, 60734, 
    61388, 64622, 60741, 64623, 64626, 
    60747, 62254, 60730, 62260, 60740, 
    61387, 60742, 61171
  ) 
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": 24,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (64617,60736,64615,62252,61336,62253,64614,60731,60726,60750,60734,61388,64622,60741,64623,64626,60747,62254,60730,62260,60740,61387,60742,61171)"
        }
      }
    },
    "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
12274 60726 product 0 21508 M 0 D 0 0 G1_Gooseneck_Arm_-_Barn_Light_Electric.png G1 Gooseneck Arm 3334 3334 21508
12293 60730 product 0 21546 M 0 D 0 0 G2_Gooseneck_Arm_-_Barn_Light_Electric.png G2 Gooseneck Arm 3334 3334 21546
12294 60731 product 0 21548 M 0 D 0 0 G3_Gooseneck_Arm_-_Barn_Light_Electric.png G3 Gooseneck Arm 3334 3334 21548
12299 60736 product 0 21558 M 0 D 0 0 G8_Gooseneck_Arm_-_Barn_Light_Electric.png G8 Gooseneck Arm 3334 3334 21558
12303 60740 product 0 21566 M 0 D 0 0 G12_Gooseneck_Arm_-_Barn_Light_Electric.png G12 Gooseneck Arm 3334 3334 21566
12305 60742 product 0 21570 M 0 D 0 0 G14_Gooseneck_Arm_-_Barn_Light_Electric.png G14 Gooseneck Arm 3334 3334 21570
12328 60747 product 0 21616 M 0 D 0 0 G17_Gooseneck_Arm_-_Barn_Light_Electric.png G17 Gooseneck Arm 3334 3334 21616
12331 60750 product 0 21622 M 0 D 0 0 G24_Gooseneck_Arm_-_Barn_Light_Electric.png G24 Gooseneck Arm 3334 3334 21622
15655 61336 product 0 27122 M 0 D 0 0 heavydutybackingplateedit.jpg Heavy Duty Backing Plate, 975-Galvanized 600 600 27122
15884 61388 product 0 27383 M 0 D 0 0 G36_Gooseneck_Arm_-_Barn_Light_Electric.png G36 Gooseneck Arm 3334 3334 27383
15885 61387 product 0 27384 M 0 D 0 0 G40_Gooseneck_Arm_-_Barn_Light_Electric.png G40 Gooseneck Arm 3334 3334 27384
21026 62252 product 0 32867 M 0 D 0 0 jelly-glass-clear.jpg Clear Jelly Jar Glass 1000 1000 32867
21027 62253 product 0 32868 M 0 D 0 0 jelly-glass-frosted.jpg Frosted Jelly Jar Glass 1000 1000 32868
21028 62254 product 0 32869 M 0 D 0 0 jelly-glass-ribbed.jpg Ribbed Jelly Jar Glass 1000 1000 32869
32533 64614 product 0 44766 M 0 D 0 0 LED-bulbs-Voroni-I-Amber-Spiral-100-Lumens-2200K-on-Tala.jpg Voronoi I LED Tala Lamp - On 1000 1000 44766
32534 64615 product 0 44767 M 0 D 0 0 LED-bulbs-Voroni-II-Amber-Spiral-150-Lumens-2200K-on-Tala.jpg Voronai II LED Tala Lamp - On 1000 1000 44767
32536 64617 product 0 44769 M 0 D 0 0 LED-bulbs-Oblo-Porcelain-540-Lumens-2700K-on-Tala.jpg Oblo LED Tala Lamp - On 1000 1000 44769
32541 64622 product 0 44774 M 0 D 0 0 LED-bulbs-Oval-Porcelain-540-Lumens-2700K-on-Tala.jpg Oval LED Tala Lamp - On 1000 1000 44774
32542 64623 product 0 44775 M 0 D 0 0 LED-bulbs-Noma-Porcelain-540-Lumens-2700K-on-Tala.jpg Noma LED Tala Lamp - On 1000 1000 44775
32545 64626 product 0 44778 M 0 D 0 0 LED-bulbs-T12-Amber-XX-210-Lumens-2200K-on-Tala.jpg Lurra LED Tala Lamp - On 1000 1000 44778
49319 61171 product 0 61552 M 0 D 0 0 G32_Gooseneck_Arm_-_Barn_Light_Electric.png G32 Gooseneck Arm 3334 3334 61552
49320 60734 product 0 61553 M 0 D 0 0 G6_Gooseneck_Arm_-_Barn_Light_Electric.png G6 Gooseneck Arm 3334 3334 61553
53864 62260 product 0 66097 M 0 D 0 0 Standard-Guard-Teal.jpg Standard Cast Guard, 390-Teal 1000 1000 66097
75665 60741 product 0 87898 M 0 D 0 0 G13_Gooseneck_Arm_-_Barn_Light_Electric.jpg G13 Gooseneck Arm 1000 1000 87898