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 (30013, 65416, 60783, 61166) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00103

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": 54,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (30013,65416,60783,61166)"
        }
      }
    },
    "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
13120 30013 product 0 23181 A 0 D 0 0 anchorage-wall-mountlight-round-white-side.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 200-White Finish (Side View) 600 600 23181
13729 60783 product 0 24368 A 0 D 0 0 Flush-Mount-Industrial-Guard-307-emerald-green-CGG-FST.jpg Flush Mount Guard Sconce, 307-Emerald Green, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 24368
14557 61166 product 0 25477 A 0 D 0 0 Indy_Industrial_Pendant__-_Barn_Light_Electric_-_Black_Socket.png Indy Industrial Pendant, Black Socket, Turn Key, Black Cord Hung, Nostalgic Edison 40 Watt G30 Light Bulb (Not Included) | Turn Key 1000 1000 25477
61935 65416 product 0 74168 A 0 D 0 0 Chartruse-380-CSB-40W-Victorian.jpg 12" Ellington, 380-Chartreuse, CSB-Black Cloth Cord, Shown with Nostalgic Edison 40W Victorian Bulb 1000 1000 74168
61939 65416 product 0 74172 A 0 D 0 0 Galvanized-975-CMG-40W-Thread.jpg 12" Ellington, 975-Galvanized, CMG-Grey Cloth Cord, Shown with Nostalgic Edison 40W Thread Bulb 1000 1000 74172
14558 61166 product 0 25478 A 1 D 0 0 Indy_Industrial_Pendant__-_Barn_Light_Electric_-_Copper_Socket_and_Putty_Twist_Cotton_Cord.png Indy Industrial Pendant, Copper Socket, Putty Cotton Twist Cord, Nostalgic Edison 40 Watt G30 Light Bulb (Not Included) | No Turn Key 1000 1000 25478
19253 30013 product 0 30965 A 1 D 0 0 anchorage-wall-mountlight-round-red.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 400-Barn Red Finish 600 600 30965
61957 65416 product 0 74190 A 1 D 0 0 Delphite.jpg 12" Ellington, 715-Delphite, SWH-Standard White Cord, Shown with Nostalgic Edison 25W Victorian Bulb 1000 1000 74190
65403 60783 product 0 77636 A 1 D 0 0 Flush-Mount-Industrial-Guard-715-delphite-CGG-CLR.jpg Flush Mount Guard Sconce, 715-Delphite Blue, CGG-Standard Cast Guard, CLR-Clear Glass 1000 1000 77636
14559 61166 product 0 25479 A 2 D 0 0 Indy_Industrial_Pendant__-_Barn_Light_Electric_-_Copper_Socket_and_Edison_Bulb.png Indy Industrial Pendant, Copper Socket, Putty Cotton Twist Cord, Nostalgic Edison 20 Watt Hairpin Light Bulb (Not Included) | No Turn Key 1000 1000 25479
19254 30013 product 0 30966 A 2 D 0 0 anchorage-wall-mountlight-round-red-side.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 400-Barn Red Finish (Side View) 600 600 30966
61937 65416 product 0 74170 A 2 D 0 0 Navy-705-CSW-40W-G30-Thread.jpg 16" Ellington, 705-Navy, CSW-White Cloth Cord, Shown with Nostalgic Edison 40W G30 Bulb 1000 1000 74170
71049 60783 product 0 83282 A 2 D 0 0 Flush-Mount-Industrial-Guard-815-Light-Grey.jpg Flush Mount Guard Sconce, 815-Light Grey, CLR-Clear Glass 1000 1000 83282
14560 61166 product 0 25480 A 3 D 0 0 Indy_Industrial_Pendant__-_Barn_Light_Electric_-_Nickel_Socket.png Indy Industrial Pendant, Nickel Socket, Turn Key, Brown Cotton Twist Cord, Nostalgic Edison 40 Watt G30 Light Bulb (Not Included) | Turn Key 1000 1000 25480
15867 60783 product 0 27365 A 3 D 0 0 Flush-Mount-Industrial-Guard-200-white-WGG-FST.jpg Flush Mount Guard Sconce, 200-White, WGG-Wire Guard, FST-Frosted Glass 1000 1000 27365
19255 30013 product 0 30967 A 3 D 0 0 anchorage-wall-mountlight-round-galv.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 975-Galvanized Finish 600 600 30967
61941 65416 product 0 74174 A 3 D 0 0 Jadite-311-TBW-40W-1890-ERA.jpg 12" Ellington, 311-Jadite, TBW-Black & White Cotton Twist Cord, Shown with Nostalgic Edison 40W 1890 Era Bulb 1000 1000 74174
14561 61166 product 0 25481 A 4 D 0 0 Indy_Industrial_Pendant__-_Barn_Light_Electric_-_Nickel_Socket_and_Putty_Cord.png Indy Industrial Pendant, Nickel Socket, Turn Key, Putty Cotton Twist Cord, Nostalgic Edison 40 Watt G30 Light Bulb (Not Included) | Turn Key 1000 1000 25481
19256 30013 product 0 30968 A 4 D 0 0 anchorage-wall-mountlight-round-galv-side.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 975-Galvanized Finish (Side View) 600 600 30968
61936 65416 product 0 74169 A 4 D 0 0 Barn-Red-400-CSRW-40W-Victorian.jpg 8" Ellington, 400-Barn Red, CSRW-Red & White Cloth Cord, Shown with Nostalgic Edison 40W Victorian Bulb 1000 1000 74169
65400 60783 product 0 77633 A 4 D 0 0 Flush-Mount-Industrial-Guard-490-magenta-WGG-RIB.jpg Flush Mount Guard Sconce, 490-Magenta, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 77633
32633 61166 product 0 44866 A 5 C 0 0 industrial_pendant_lighting_restaurant_lighting-1024x682.jpg Indy Industrial Pendant, 100-Black, Shown with Nostalgic Edison Spiral Light Bulb 1024 682 44866
61938 65416 product 0 74171 A 5 D 0 0 Black-150-CSB-30W-Hairpin-.jpg 8" Ellington, 100-Black, CSB-Black Cloth Cord, Shown with Nostalgic Edison 30W Hairpin Bulb 1000 1000 74171
65402 60783 product 0 77635 A 5 D 0 0 Flush-Mount-Industrial-Guard-705-navy-TGG-RIB.jpg Flush Mount Guard Sconce, 705-Navy, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 77635
68758 30013 product 0 80991 A 5 C 0 0 InvisionDesign_962Line8_Loft-Staircase_88284-residential-interior-lighting-on-Anchorage-Bulkhead-Wall-Mount-Large-100-Black-stairway.jpg Anchorage Bulkhead Wall Mount, Large, 100-Black | Customer Submission 5300 5299 80991
16687 61166 product 0 28252 A 6 C 0 0 indy_pendant_guest_bedroom.jpg Indy Industrial Pendant with G30 40 Watt Bulb | Tybee Island, GA 600 750 28252
56322 30013 product 0 68555 A 6 C 0 0 Anchorage_Bulkhead_Wall_Mount_-_Barn_Light_Electric_-_Nautical_Bunk_Beds.jpg Anchorage Bulkhead Wall Mount Light Fixture, Small Size, 975-Galvanized Finish | Photo Courtesy of Homeowner 426 640 68555
65401 60783 product 0 77634 A 6 D 0 0 Flush-Mount-Industrial-Guard-500-buttery-yellow-CGG-RIB.jpg Flush Mount Guard Sconce, 500-Buttery Yellow, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 77634
50057 61166 product 0 62290 A 7 C 0 0 indy_industrial_pendant_black_CSB_on_offturnkey_1910era_60watt_edison.jpg (2) Indy Industrial Pendant with 1910 Era 60W Edison Bulb, CSB-Black Cloth Cord, BK-Back Socket Finish, On/Off Turn Key | Photo Courtesy of Louise Swelstad 1500 2000 62290
54147 30013 product 0 66380 A 7 C 0 0 nautical_lighting_flush_mount_lights-1024x683-768x512.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 975-Galvanized Finish | Photo Courtesy of Homeowner 768 512 66380
59059 60783 product 0 71292 A 7 D 0 0 Flush-Mount-Industrial-Guard-100-black-TGG-RIB.jpg Flush Mount Guard Sconce, 100-Black, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 71292
61940 65416 product 0 74173 A 7 D 0 0 Green-Black-CSB-40W-Thread.jpg 8" Ellington, CSB-Black Cloth Cord, 100-Black, Cup in 307-Emerald Green, Shown with Nostalgic Edison 40W Thread Bulb 1000 1000 74173
35921 60783 product 0 48154 A 8 C 0 0 flush_mount_guard_sconce_311_jadite_wireguard_clearglass4.jpg Flush Mount Guard Sconce, 311-Jadite, WGG-Wire Guard, CLR-Clear Glass | Courtesy of The Garden Table 1500 2250 48154
61943 65416 product 0 74176 A 8 D 0 0 White-200-TWH-60W-1910-ERA.jpg 16" Ellington, 200-White, TWH-White Cotton Twist Cord, Shown with Nostalgic Edison 60W 1910 Era Bulb 1000 1000 74176
62412 30013 product 0 74645 A 8 C 0 0 Anchorage_Bulkhead_Wall_mount_Large_400-BarnRed.jpg Anchorage Bulkhead Wall Mount Light, Large, 400-Barn Red 1500 2000 74645
30263 60783 product 0 42486 A 9 C 0 0 rustic_ceiling_lighting_restaurant_lighting-605x768.jpg Flush Mount Guard Sconce, 420-Orange, CGG-Standard Cast Guard | Customer Submission 605 768 42486
58954 30013 product 0 71187 A 9 C 0 0 Anchorage_Bulkhead_Wall_Mount_Light_-_605_Rust_Barn_Light_Electric_-_Wall_Sconce.jpg Anchorage Bulkhead Wall Mount Light Fixture Small Size, 605-Rust | Photo Courtesy of Homeowner 1500 2000 71187
61942 65416 product 0 74175 A 9 D 0 0 Navy-Chartruse-CSGW-40W-Thread.jpg 8" Ellington, 380-Chartreuse, Cup in 705-Navy, CSGW-Gold & White Cloth Cord, Shown with Nostalgic Edison 40W Thread Bulb 1000 1000 74175
55537 30013 product 0 67770 A 10 C 0 0 anchorage_bulkhead_light_975_galvanized.jpg Anchorage Bulkhead Wall Mount Light Fixture Large Size, 975-Galvanized Finish | Photo Courtesy of Homeowner 1500 1951 67770
57182 60783 product 0 69415 A 10 C 0 0 Flush_Mount_Guard_Sconce_-_975_Galvanized_Barn_Light_Electric_-_Hallway_Lighting.jpg Flush Mount Guard Sconce, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass | Photo Courtesy of Red House Building 1500 1962 69415
62872 65416 product 0 75105 A 10 C 0 0 DSCF2419-Commercial-Interior-Coffee-Cafe-Ellington-Cord-8in-100-black-CSBW.jpg 6" Ellington, 100-Black, CSBW-Black & White Cloth Cord 1500 2250 75105
58544 60783 product 0 70777 A 11 C 0 0 Flush_Mount_Guard_Sconce_-_200_White_Barn_Light_Electric_-_Modern_Commercial_Restaurant_Lighting.jpg Flush Mount Guard Sconce, 200-White, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Sully Clemmer Photography and Ferriss + Company Design Studio 1500 1207 70777
58953 30013 product 0 71186 A 11 C 0 0 Anchorage_Bulkhead_Wall_Mount_Light_-_605_Rust_Barn_Light_Electric_-_Wall_Sconce_Light.jpg Anchorage Bulkhead Wall Mount Light Fixture Small Size, 605-Rust | Photo Courtesy of Homeowner 1500 2000 71186
61944 65416 product 0 74177 A 11 C 0 0 16in-ellington-705-navy-tpt-putty-cotton-twist-cord-foyer-barn-light-electric.jpg 16" Ellington, 705-Navy, TPW-Putty Cotton Twist Cord, Shown with Nostalgic Edison 40W 1910 Era Bulb 1500 2000 74177
58545 60783 product 0 70778 A 12 C 0 0 Flush_Mount_Guard_Sconce_-_200_White_Barn_Light_Electric_-_Commercial_Restaurant_Bar_Lighting.jpg Flush Mount Guard Sconce, 200-White, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Sully Clemmer Photography and Ferriss + Company Design Studio 1500 1000 70778
62873 65416 product 0 75106 A 12 C 0 0 4M5A1480-Commercial-Interior-Coffee-Cafe-Ellington-Cord-8in-100-black-CSBW.jpg 6" Ellington, 100-Black, CSBW-Black & White Cloth Cord 1500 1000 75106
64858 30013 product 0 77091 A 12 C 0 0 2E25677E-803C-residential-exterior-lighting-Anchorage-Bulkhead-Large-400-Barn-Red.jpeg Anchorage Bulkhead Wall Mount Light Fixture, Large, 400-Barn Red | Photo Courtesy of Homeowner 4032 3024 77091
58546 60783 product 0 70779 A 13 C 0 0 Flush_Mount_Guard_Sconce_-_200_White_Barn_Light_Electric_-_Restaurant_Bar_Lighting.jpg Flush Mount Guard Sconce, 200-White, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Sully Clemmer Photography and Ferriss + Company Design Studio 1500 881 70779
61945 65416 product 0 74178 A 13 C 0 0 14in-ellington-pendant-975-galvanized-sbk-standard-black-cord-office-barn-light-electric.jpg 12" Ellington, 975-Galvanized, SBK-Standard Black Cord, Shown with Nostalgic Edison 40W 1890 Era Bulb 1500 2248 74178
57183 60783 product 0 69416 A 14 C 0 0 Flush_Mount_Guard_Sconce_-_975_Galvanized_Barn_Light_Electric_-_Industrial_Lighting.jpg Flush Mount Guard Sconce, 975-Galvanized, CGG-Standard Cast Guard, Ribbed Glass | Photo Courtesy of Red House Building 1500 2318 69416
16895 60783 product 0 28481 A 15 C 0 0 atomic_bullet_living.jpg Flush Mount Guard Sconce, 975-Galvanized 375 565 28481
30256 60783 product 0 42479 A 16 C 0 0 bar_lighting_restaurant_lights-768x512.jpg Flush Mount Guard Sconce, 311-Jadite, WGG-Wire Guard, CLR-Clear Glass | Courtesy of The Garden Table 768 512 42479
20910 60783 product 0 32746 A 17 C 0 0 industrial_bullet_rustic_wall_sconce.jpg Flush Mount Guard Sconce, 100-Black | Courtesy of ReThink Design 781 543 32746
60297 60783 product 0 72530 A 18 C 0 0 Flush_Mount_Guard_-_Barn_Light_Electric_-_975_Galvanized_Interior_Flush_Mount_Lighting.jpg Flush Mount Guard Sconce, 975-Galvanized, TGG-Heavy Duty Cast Guard, Clear Glass | Photo Courtesy of Customer 1500 1712 72530