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 (
    58884, 62123, 29986, 60914, 29983, 60749, 
    29992, 29989, 60748, 63034, 62012, 
    60739, 60745, 61430, 62240, 63755, 
    60753, 64625, 62259, 64624, 61340, 
    61337, 64616, 60746
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00113

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 (58884,62123,29986,60914,29983,60749,29992,29989,60748,63034,62012,60739,60745,61430,62240,63755,60753,64625,62259,64624,61340,61337,64616,60746)"
        }
      }
    },
    "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
2740 58884 product 0 5353 M 0 D 0 0 socketassemblyedit.jpg Socket Assembly 600 600 5353
6476 29989 product 0 11181 M 0 D 0 0 Stem-Mount-Canopy.jpg Stem Mount Canopy, 975-Galvanized 3006 3006 11181
12326 60745 product 0 21612 M 0 D 0 0 G15_Gooseneck_Arm_-_Barn_Light_Electric.png G15 Gooseneck Arm 3334 3334 21612
12327 60746 product 0 21614 M 0 D 0 0 G16_Gooseneck_Arm_-_Barn_Light_Electric.png G16 Gooseneck Arm 3334 3334 21614
12333 60753 product 0 21626 M 0 D 0 0 G26_Gooseneck_Arm_-_Barn_Light_Electric.png G26 Gooseneck Arm 3334 3334 21626
13167 29992 product 0 23262 M 0 D 0 0 Wire-Cage-600-Bronze.jpg Wire Cage, 600-Bronze 2649 2650 23262
15653 61337 product 0 27120 M 0 D 0 0 standard-decorative-backing-plate-975-galvanized.jpg Decorative Backing Plate Cover, 975-Galvanized 1000 1000 27120
15659 60914 product 0 27126 M 0 D 0 0 Hang-Straight-Ceiling-Canopy-detail.jpg Hang Straight Ceiling Canopy, 975-Galvanized 600 600 27126
15669 61340 product 0 27138 M 0 D 0 0 heavy-duty-stem-mount-canopy.jpg Barn Light Heavy Duty Stem Mount Canopy 1000 1000 27138
16152 61430 product 0 27672 M 0 D 0 0 dbpedit.jpg Smooth Direct Burial Pole, 975-Galvanized 600 600 27672
19147 62012 product 0 30859 M 0 D 0 0 dawn-to-dusk-980-brushed-aluminum.jpg Dusk-to-Dawn Photocell, 975-Galvanized 1000 1000 30859
20855 62240 product 0 32691 M 0 D 0 0 Dominion-Gooseneck-Hex-Coupler-Cover-White-Brass-Arrows.jpg Hex Coupler Cover, 997-Raw Copper 1000 1000 32691
21034 62123 product 0 32875 M 0 D 0 0 socket_red-and-white-chevron-cloth-cord.jpg Socket with CRZ-Red Chevron Cord 600 600 32875
23834 63034 product 0 35765 M 0 D 0 0 Swivel-Knuckle-Arrows.jpg Swivel Knuckle, 975-Galvanized 1000 1000 35765
27184 63755 product 0 39361 M 0 D 0 0 schoolhouse-glass-small-opaque.jpg Small Opaque Schoolhouse Glass 600 600 39361
32535 64616 product 0 44768 M 0 D 0 0 LED-bulbs-Enno-Porcelain-540-Lumens-2700K-on-Tala.jpg Enno LED Tala Lamp - On 1000 1000 44768
32543 64624 product 0 44776 M 0 D 0 0 LED-bulbs-G25-Porcelain-II-540-Lumens-2700K-on-Tala.jpg Porcelain II LED Tala Lamp - On 1000 1000 44776
32544 64625 product 0 44777 M 0 D 0 0 LED-bulbs-G40-Porcelain-III-540-Lumens-2700K-on-Tala.jpg Porcelain III LED Tala Lamp - On 1000 1000 44777
37742 60739 product 0 49975 M 0 D 0 0 G11_Gooseneck_Arm_-_Barn_Light_Electric.png G11 Gooseneck Arm 3334 3334 49975
41731 29986 product 0 53964 M 0 D 0 0 Gooseneck-Arm-Backing-Plate-Barn-Red.jpg Gooseneck Arm Wall Backing Plate, 400-Barn Red 1000 1000 53964
49318 60748 product 0 61551 M 0 D 0 0 G19_Gooseneck_Arm_-_Barn_Light_Electric.png G19 Gooseneck Arm 3334 3334 61551
53861 62259 product 0 66094 M 0 D 0 0 Wire-Guard-Delphite.jpg Wire Guard, 715-Delphite 1000 1000 66094
58555 29983 product 0 70788 M 0 D 0 0 Barn_Light_Electric_Stem_Extensions.png 1/2" & 3/4" Stem Ceiling Extensions 1082 910 70788
75664 60749 product 0 87897 M 0 D 0 0 G22_Gooseneck_Arm_-_Barn_Light_Electric.png G22 Gooseneck Arm 1000 1000 87897