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 (62382, 61623, 62666, 62665) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00129

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": 38,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62382,61623,62666,62665)"
        }
      }
    },
    "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
63780 61623 product 0 76013 A 0 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-large-glass-opaque-700-royal-blue-single-painted-band-sc.jpg Primary 4-Light Schoolhouse Chandelier, 700-Royal Blue, Large Opaque Glass, Single Painted Band 1000 1000 76013
63965 62666 product 0 76198 A 0 D 0 0 Marathon-SoHo-4-Light-Chandelier-12in-200-white-100-black.jpg Marathon SoHo 4-Light Chandelier, 200-White, Mounting in 100-Black, 36" Stem, Heavy Duty Canopy 1000 1000 76198
64200 62665 product 0 76433 A 0 D 0 0 Lafayette-soho-4-Light-Chandelier-400-barn-red.jpg Lafayette SoHo 4-Light Chandelier, 400-Barn Red 1000 1000 76433
17085 61623 product 0 28618 A 1 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-small-glass-opaque-100-black-triple-painted-band-sc.jpg Primary 4-Light Schoolhouse Chandelier, 100-Black, Small Opaque Glass, Triple Painted Band 1000 1000 28618
21466 62382 product 0 33347 A 1 D 0 0 the_bottom_line_cgg_975_galvanized_ribbed_glass.jpg Foundry LED 4-Light Chandelier, 975-Galvanized, Warehouse Shade, CGG-Standard Cast Guard, RIB-Ribbed Glass 600 667 33347
46270 62665 product 0 58503 A 1 D 0 0 lafayette-soho-4-Light-Chandelier-200-white-100-black.jpg Lafayette SoHo 4-Light Chandelier, 200-White, Mounting in 100-Black 1000 1000 58503
63946 62666 product 0 76179 A 1 D 0 0 Marathon-SoHo-4-Light-Chandelier-12in-400-barn-red.jpg Marathon SoHo 4-Light Chandelier, 400-Barn Red, 36" Stem, Heavy Duty Canopy 1000 1000 76179
21465 62382 product 0 33346 A 2 D 0 0 inventor-cgg-400-barn-red-frosted-glass_ogf6-l9.jpg Foundry LED 4-Light Chandelier, 400-Barn Red, Flared Shade, CGG-Standard Cast Guard, FST-Frosted Glass 600 600 33346
22695 62666 product 0 34593 A 2 D 0 0 Marathon-SoHo-4-Light-Chandelier-12in-100-black.jpg Marathon SoHo 4-Light Chandelier, 100-Black, 36" Stem 1000 1000 34593
46271 62665 product 0 58504 A 2 D 0 0 Lafayette-soho-4-Light-Chandelier-307-emerald-green.jpg Lafayette SoHo 4-Light Chandelier, 307-Emerald Green, Heavy Duty Canopy 1000 1000 58504
63782 61623 product 0 76015 A 2 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-large-glass-clear-400-barn-red-sc.jpg Primary 4-Light Schoolhouse Chandelier, 400-Barn Red, Large Clear Glass 1000 1000 76015
22696 62666 product 0 34594 A 3 D 0 0 Marathon-SoHo-4-Light-Chandelier-12in-307-emerald.jpg Marathon SoHo 4-Light Chandelier, 307-Emerald Green 1000 1000 34594
31661 61623 product 0 43894 A 3 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-small-glass-clear-705-navy-triple-painted-band-715-delphite-sc.jpg Primary 4-Light Schoolhouse Chandelier, 705-Navy, Small Clear Glass, Triple Painted Band, 715-Delphite Blue 1000 1000 43894
32160 62382 product 0 44393 A 3 D 0 0 the_bottom_line_tgg_100_black_clear_glass.jpg Foundry LED 4-Light Chandelier, 100-Black, Warehouse Shade, TGG-Heavy Duty Cast Guard, CLR-Clear Glass 600 545 44393
64204 62665 product 0 76437 A 3 D 0 0 Lafayette-soho-4-Light-Chandelier-705-navy.jpg Lafayette SoHo 4-Light Chandelier, 705-Navy 1000 1000 76437
22694 62666 product 0 34592 A 4 D 0 0 Marathon-SoHo-4-Light-Chandelier-12in-975-galvanized-400-barn-red.jpg Marathon SoHo 4-Light Chandelier, 975-Galvanized, Mounting in 400-Barn Red, 36" Stem, Hang Straight Canopy 1000 1000 34592
31662 61623 product 0 43895 A 4 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-small-glass-opaque-307-emerald-green-double-painted-band-sc.jpg Primary 4-Light Schoolhouse Chandelier, 307-Emerald Green, Small Opaque Glass, Double Painted Band 1000 1000 43895
64202 62665 product 0 76435 A 4 D 0 0 lafayette-soho-4-Light-Chandelier-490-magenta-100-black.jpg Lafayette SoHo 4-Light Chandelier, 490-Magenta, Mounting in 100-Black, Hang Straight Canopy 1000 1000 76435
63781 61623 product 0 76014 A 5 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-large-glass-opaque-300-dark-green-sc.jpg Primary 4-Light Schoolhouse Chandelier, 300-Dark Green, Large Opaque Glass 1000 1000 76014
63947 62666 product 0 76180 A 5 D 0 0 Marathon-SoHo-4-Light-Chandelier-12in-700-royal-blue.jpg Marathon SoHo 4-Light Chandelier, 700-Royal Blue, 36" Stem, Heavy Duty Canopy 1000 1000 76180
64201 62665 product 0 76434 A 5 D 0 0 Lafayette-soho-4-Light-Chandelier-400-dark-green-500-buttery-yellow.jpg Lafayette SoHo 4-Light Chandelier, 500-Buttery Yellow, Mounting in 300-Dark Green 1000 1000 76434
63779 61623 product 0 76012 A 6 D 0 0 primary-schoolhouse-chandelier-4-light-straight-arm-large-small-clear-390-teal-single-painted-band-200-white-sc.jpg Primary 4-Light Schoolhouse Chandelier, 390-Teal, Small Clear Glass, Single Painted Band, 200-White 1000 1000 76012
64203 62665 product 0 76436 A 6 D 0 0 Lafayette-soho-4-Light-Chandelier-700-royal.jpg Lafayette SoHo 4-Light Chandelier, 700-Royal Blue 1000 1000 76436
68124 62666 product 0 80357 A 6 C 0 0 IMG_4857-commercial-interior-lighting-on-meeting-space-Marathon-SoHo-4-Light-Chandelier-975-Galvanized-36in-stem-Heavy-Duty-Canopy.jpg Marathon SoHo 4-Light Chandelier, 975-Galvanized, 36" Stem, Heavy Duty Canopy 3691 2411 80357
61397 62665 product 0 73630 A 7 C 0 0 Lafayette_4-Light_SoHo_Chandelier_-_Barn_Light_Electric_-_Interior_Chandelier_Lighting.JPG Lafayette SoHo 4-Light Chandelier, 370-Mint, Heavy Duty Canopy, 6” Stem | Photo Courtesy of Rhine Point Builders 3380 5069 73630
62355 62666 product 0 74588 A 7 C 0 0 Marathon_SoHo_Chandelier_975-Galvanized_12instem13.jpeg Marathon SoHo 4-Light Chandelier, 975-Galvanized, 12" Stem 1512 2016 74588
67297 61623 product 0 79530 A 7 C 0 0 IMG_4574-residential-interior-lighting-bedroom-wallpaper-Primary-4-Light-Straight-Arm-Schoolhouse-Chandelier-Small-Opaque-311-Jadite-12in-Stem-PB3-311-Jadite.JPG Primary 4-Light Schoolhouse Straight Arm Chandelier, Small Opaque, 311-Jadite, 12" Stem, 3 Painted Bands, 311-Jadite | Photo Courtesy of Sara McDaniel of Simply Southern Cottage and Hector Sanchez Photography 3024 4032 79530
61396 62665 product 0 73629 A 8 C 0 0 Lafayette_4-Light_SoHo_Chandelier_-_Barn_Light_Electric_-_Modern_Chandelier.JPG Lafayette SoHo 4-Light Chandelier, 370-Mint, Heavy Duty Canopy, 6” Stem | Photo Courtesy of Rhine Point Builders 3456 4257 73629
62356 62666 product 0 74589 A 8 C 0 0 Marathon_SoHo_Chandelier_975-Galvanized_12instem8.jpeg Marathon SoHo 4-Light Chandelier, 975-Galvanized, 12" Stem 3007 3669 74589
62386 61623 product 0 74619 A 8 C 0 0 primary_4-light_straight_arm_chandelier_small_opaque_100-black_24instem_PB3_100-black.jpeg Primary 4-Light Schoolhouse Chandelier, 100-Black, Small Opaque Glass with Triple Painted Band | Photo Courtesy of Homeowner 2500 2686 74619
22778 62665 product 0 34682 A 9 C 0 0 lafayette_street-chandelier_black-insetting.jpg Lafayette SoHo 4-Light Chandelier, 100-Black, Standard Canopy 600 451 34682
32279 61623 product 0 44512 A 9 C 0 0 schoolhouse_lights_chandelier.jpg Primary 4-Light Schoolhouse Chandelier, 480-Blush Pink, Small Opaque Glass, Double Painted Band, 100-Black | Photo Courtesy of Homeowner 1024 1013 44512
62029 62666 product 0 74262 A 9 C 0 0 Marathon_SoHo_Chandelier_975-Galvanized_12instem3.jpeg Marathon SoHo 4-Light Chandelier, 975-Galvanized, 12" Stem 4032 3024 74262
32278 61623 product 0 44511 A 10 C 0 0 schoolhouse_chandelier.jpg Primary 4-Light Schoolhouse Chandelier, 480-Blush Pink, Small Opaque Glass, Double Painted Band, 100-Black | Photo Courtesy of Homeowner 1024 682 44511
62030 62666 product 0 74263 A 10 C 0 0 Marathon_SoHo_Chandelier_975-Galvanized_12instem4.jpeg Marathon SoHo 4-Light Chandelier, 975-Galvanized, 12" Stem 4032 3024 74263
68125 62666 product 0 80358 A 10 C 0 0 IMG_4855-commercial-interior-lighting-meeting-space-Marathon-SoHo-4-Light-Chandelier-975-Galvanized-36in-stem-Heavy-Duty-Canopy.jpg Marathon SoHo 4-Light Chandelier, 975-Galvanized, 36" Stem, Heavy Duty Canopy 2825 3767 80358
56897 61623 product 0 69130 A 11 C 0 0 Primary_4-Light_Schoolhouse_Chandelier_-_Barn_Light_Electric_-_Dining_Room_Chandelier_Lighting.JPG Primary 4-Light Schoolhouse Chandelier, 100-Black, 24” Stem, Small Clear Glass, Triple Painted Band, 311-Jadite | Photo Courtesy of Homeowner 2156 1437 69130
61356 61623 product 0 73589 A 12 C 0 0 Primary_4-Light_Schoolhouse_Straight_Arm_Chandelier_-_Barn_Light_Electric.JPG Primary 4-Light Schoolhouse Chandelier, 615-Oil Rubbed Bronze, Large Clear Glass, Double Painted Band, 400-Barn Red | Photo Courtesy of Larry Rubinson 2949 3132 73589