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, 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.00154

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": 48,
          "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,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
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
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
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
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
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
15655 61336 product 0 27122 M 0 D 0 0 heavydutybackingplateedit.jpg Heavy Duty Backing Plate, 975-Galvanized 600 600 27122
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
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
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
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
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
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
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
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
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
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
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
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
53861 62259 product 0 66094 M 0 D 0 0 Wire-Guard-Delphite.jpg Wire Guard, 715-Delphite 1000 1000 66094
53864 62260 product 0 66097 M 0 D 0 0 Standard-Guard-Teal.jpg Standard Cast Guard, 390-Teal 1000 1000 66097
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
75665 60741 product 0 87898 M 0 D 0 0 G13_Gooseneck_Arm_-_Barn_Light_Electric.jpg G13 Gooseneck Arm 1000 1000 87898