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 (62412, 62420, 62428, 65474) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00088

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": 37,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62412,62420,62428,65474)"
        }
      }
    },
    "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
21592 62412 product 0 33473 A 0 D 0 0 sydney-flush-12in-390-teal-490-magenta-CLR.jpg 12" Sydney LED, 390-Teal, Guard in 490-Magenta, CLR-Clear Glass 1000 1000 33473
21618 62420 product 0 33499 A 0 D 0 0 brisbane-flush-mount-14in-400-Barn-Red-100-Black-CLR.jpg 14" Brisbane LED, 400-Barn Red, Guard in 100-Black, CLR-Clear Glass 1000 1000 33499
21619 62420 product 0 33500 A 0 D 0 0 brisbane-flush-mount-12in-997-raw-brass-100-Black-CLR.jpg 12" Brisbane LED, 997-Natural Raw Brass, With Cap Option, Guard in 100-Black, CLR-Clear Glass, Mounting in 100-Black 1000 1000 33500
66185 62428 product 0 78418 A 0 D 0 0 Wallaby-flush-16in-390-teal-480-blush-rib_j2p2-dt.jpg 16" Wallaby LED, 390-Teal, Guard in 480-Blush Pink, RIB-Ribbed Glass 1000 1000 78418
66424 62420 product 0 78657 A 0 D 0 0 brisbane-flush-mount-16in-390-teal-480-blush-pink-RIB_mzjp-4f.jpg 16" Brisbane LED, 390-Teal, Guard in 480-Blush Pink, RIB-Ribbed Glass 1000 1000 78657
66425 62420 product 0 78658 A 0 D 0 0 brisbane-flush-mount-12in-100-Black-CLR.jpg 12" Brisbane LED, 100-Black, CLR-Clear Glass 1000 1000 78658
66426 62420 product 0 78659 A 0 D 0 0 brisbane-flush-mount-16in-975-galvanized-500-buttery-yellow-RIB_ywm0-a1.jpg 16" Brisbane LED, 975-Galvanized, Guard in 500-Buttery Yellow, RIB-Ribbed Glass 1000 1000 78659
66427 62420 product 0 78660 A 0 D 0 0 brisbane-flush-mount-12in-307-emerald-CLR.jpg 12" Brisbane LED, 307-Emerald Green, CLR-Clear Glass 1000 1000 78660
66428 62420 product 0 78661 A 0 D 0 0 brisbane-flush-mount-16in-200-white-RIB_vohd-eg.jpg 16" Brisbane LED, 200-White, RIB-Ribbed Glass 1000 1000 78661
66986 65474 product 0 79219 A 0 D 0 0 blue-collar-flush-mount-300-dark-green-12in-WGG-RIB_spef-t8.jpg 12" Blue Collar LED, 300-Dark Green, RIB-Ribbed Glass 1000 1000 79219
21643 62428 product 0 33524 A 1 D 0 0 Wallaby-flush-12in-805-charcoal-granite-400-Barn-Red-RIB.jpg 12" Wallaby LED, 805-Charcoal Granite, Guard in 400-Barn Red, RIB-Ribbed Glass 1000 1000 33524
66309 62412 product 0 78542 A 1 D 0 0 sydney-flush-18in-400-barn-red-CLR_5if8-ho.jpg 18" Sydney LED, 400-Barn Red, CLR-Clear Glass 1000 1000 78542
66988 65474 product 0 79221 A 1 D 0 0 blue-collar-flush-mount-490-magenta-100-black-rib_1i8a-mc.jpg 16" Blue Collar LED, 490-Magenta, RIB-Ribbed Glass, Mounting in 100-Black 1000 1000 79221
30627 62412 product 0 42859 A 2 D 0 0 sydney-flush-14in-500-buttery-yellow-705-navy-RIB.jpg 14" Sydney LED, 500-Buttery Yellow, Guard in 705-Navy, RIB-Ribbed Glass, Mounting in 705-Navy 1000 1000 42859
66184 62428 product 0 78417 A 2 D 0 0 Wallaby-flush-16in-997-raw-brass-100-black-CLR_0l6c-fv.jpg 16" Wallaby LED, 997-Natural Raw Brass, With Cap Option, Guard in 100-Black, CLR-Clear Glass 1000 1000 78417
66987 65474 product 0 79220 A 2 D 0 0 blue-collar-flush-mount-400-barn-red-WGG-RIB_s05j-0v.jpg 16" Blue Collar LED, 400-Barn Red, RIB-Ribbed Glass 1000 1000 79220
21594 62412 product 0 33475 A 3 D 0 0 sydney-flush-12in-975-galvanized-400-barn-red-RIB.jpg 12" Sydney LED, 975-Galvanized, Guard in 400-Barn Red, RIB-Ribbed Glass 1000 1000 33475
66180 62428 product 0 78413 A 3 D 0 0 Wallaby-flush-12in-307-emerald-green-RIB.jpg 12" Wallaby LED, 307-Emerald Green, RIB-Ribbed Glass 1000 1000 78413
66989 65474 product 0 79222 A 3 D 0 0 blue-collar-flush-mount-700-royal-blue-12in-WGG-RIB_f3pz-z7.jpg 12" Blue Collar LED, 700-Royal Blue, RIB-Ribbed Glass 1000 1000 79222
66182 62428 product 0 78415 A 4 D 0 0 Wallaby-flush-16in-200-white-RIB_5wcq-su.jpg 16" Wallaby LED, 200-White, RIB-Ribbed Glass 1000 1000 78415
66310 62412 product 0 78543 A 4 D 0 0 sydney-flush-16in-200-white-480-blush-pink-RIB_2ans-44.jpg 16" Sydney LED, 200-White, Guard in 480-Blush Pink, RIB-Ribbed Glass 1000 1000 78543
66998 65474 product 0 79231 A 4 D 0 0 blue-collar-flush-307-emerald-green-975-galvanized-fst_v71d-yr.jpg 16" Blue Collar LED, 307-Emerald Green, FST-Frosted Glass, Mounting in 975-Galvanized 1000 1000 79231
66181 62428 product 0 78414 A 5 D 0 0 Wallaby-flush-14in-100-black-CLR_zr3a-zg.jpg 14" Wallaby LED, 100-Black, With Cap Option, CLR-Clear Glass 1000 1000 78414
66308 62412 product 0 78541 A 5 D 0 0 sydney-flush-14in-997-raw-brass-100-black-CLR.jpg 14" Sydney LED, 997-Natural Raw Brass, With Cap Option, Guard in 100-Black, CLR-Clear Glass, Mounting in 100-Black 1000 1000 78541
66985 65474 product 0 79218 A 5 D 0 0 blue-collar-flush-mount-100-black-12in-WGG-RIB_k8uf-38.jpg 12" Blue Collar LED, 100-Black, RIB-Ribbed Glass 1000 1000 79218
49317 62412 product 0 61550 A 6 D 0 0 sydney-flush-18in-715-delphite-200-white-RIB.jpg 18" Sydney LED, 715-Delphite, Guard in 200-White, RIB-Ribbed Glass 1000 1000 61550
66183 62428 product 0 78416 A 6 D 0 0 Wallaby-flush-12in-700-royal-blue-RIB.jpg 12" Wallaby LED, 700-Royal Blue, RIB-Ribbed Glass 1000 1000 78416
66990 65474 product 0 79223 A 6 D 0 0 blue-collar-flush-mount-705-navy-WGG-RIB_hzne-9f.jpg 16" Blue Collar LED, 705-Navy, RIB-Ribbed Glass 1000 1000 79223
68197 62412 product 0 80430 A 6 C 0 0 image_5-residential-interior-lighting-bathroom-Sydney-LED-Flush-Mount-12in-470-Watermelon-No-Cap-390-Teal-Guard-Clear-Glass.jpeg 12" Sydney LED Flush Mount, 470-Watermelon, No Cap, 390-Teal, Guard, Clear Glass | Photo Courtesy of The Shabby Peacock 2571 3428 80430
68198 62412 product 0 80431 A 6 C 0 0 image_4-residential-interior-lighting-bathroom-Sydney-LED-Flush-Mount-12in-470-Watermelon-No-Cap-390-Teal-Guard-Clear-Glass.jpeg 12" Sydney LED Flush Mount, 470-Watermelon, No Cap, 390-Teal, Guard, Clear Glass | Photo Courtesy of The Shabby Peacock 3024 4032 80431
68199 62412 product 0 80432 A 6 C 0 0 image_9-residential-interior-lighting-bathroom-Sydney-LED-Flush-Mount-12in-470-Watermelon-No-Cap-390-Teal-Guard-Clear-Glass.jpeg 12" Sydney LED Flush Mount, 470-Watermelon, No Cap, 390-Teal, Guard, Clear Glass | Photo Courtesy of The Shabby Peacock 3023 3369 80432
68200 62412 product 0 80433 A 6 C 0 0 image_7-residential-interior-lighting-on-bathroom-Sydney-LED-Flush-Mount-12in-470-Watermelon-No-Cap-390-Teal-Guard-Clear-Glass.jpeg 12" Sydney LED Flush Mount, 470-Watermelon, No Cap, 390-Teal, Guard, Clear Glass | Photo Courtesy of The Shabby Peacock 3024 4032 80433
66991 65474 product 0 79224 A 7 D 0 0 blue-collar-flush-mount-810-graphite-12in-WGG-RIB_p201-g8.jpg 12" Blue Collar LED, 810-Graphite, RIB-Ribbed Glass 1000 1000 79224
69113 65474 product 0 81346 A 8 C 0 0 444228EE-residential-interior-lighting-on-hallway-Blue-Collar-LED-Flush-Mount-12in-100-Black-Clear-Glass.jpg 12" Blue Collar LED, 100-Black, Clear Glass | Photo Courtesy of Customer 1536 2048 81346
68659 65474 product 0 80892 A 9 C 0 0 IMG_3910-residential-interior-lighting-on-laundry-room-Blue-Collar-LED-Flush-Mount-14in-400-Barn-Red-Ribbed-Glass.jpg 14" Blue Collar LED, 400-Barn Red, RIB-Ribbed Glass | Photo Courtesy of Customer 1500 2000 80892
68660 65474 product 0 80893 A 10 C 0 0 IMG_3911-residential-interior-lighting-laundry-room-Blue-Collar-LED-Flush-Mount-14in-400-Barn-Red-Ribbed-Glass.jpg 14" Blue Collar LED, 400-Barn Red, RIB-Ribbed Glass | Photo Courtesy of Customer 1500 2000 80893
68661 65474 product 0 80894 A 11 C 0 0 IMG_3912-residential-interior-lighting-on-laundry-room-Blue-Collar-LED-Flush-Mount-14in-400-Barn-Red-Ribbed-Glass.jpg 14" Blue Collar LED, 400-Barn Red, RIB-Ribbed Glass | Photo Courtesy of Customer 1500 1042 80894