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 (61455, 61456, 61458, 61466) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00138

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": 41,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (61455,61456,61458,61466)"
        }
      }
    },
    "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
16328 61458 product 0 27848 A 0 D 0 0 Vanguard_8-Light_Chandelier_-_Barn_Light_Electric.png Vanguard, 100-Black, CGG-Standard Cast Guard, CLR-Clear Glass 500 500 27848
16330 61456 product 0 27850 A 0 D 0 0 Mercury_8-Light_Chandelier_-_Barn_Light_Electric.png Mercury 8-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard, FR-Frosted Glass 500 500 27850
65120 61455 product 0 77353 A 0 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-420-Orange-100-Black.jpg Factory Overhead 6-Light Chandelier, 420-Orange, CGG-Standard Cast Guard, Guard in 100-Black, FST-Frosted Glass 1000 1000 77353
65606 61466 product 0 77839 A 0 D 0 0 Apollo-5-light-chandelier-390-teal.jpg Apollo 5-Light Chandelier, 390-Teal, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77839
68028 61456 product 0 80261 A 0 C 0 0 IMG_3035-commercial-interior-lighting-on-restaurant-Mercury-8-Light-Chandelier-975-Galvanized-36in-stem-CGG-Clear-Glass.jpg Mercury 8-Light Chandelier, 975-Galvanized, 36" Stem, Standard Cast Guard, Clear Glass | Photo Courtesy of Cousin Subs 3009 3741 80261
16319 61466 product 0 27839 A 1 D 0 0 apollo_chandelier-100-black-490-magenta-CGG-FST.jpg Apollo 5-Light Chandelier, 100-Black, CGG-Standard Cast Guard, 490-Magenta, FST-Frosted Glass 1000 1000 27839
28348 61456 product 0 40541 A 1 C 0 0 barn_lights_american_made-1024x687-768x515.jpg Mercury 8-Light Chandelier, 100-Black | Customer Submission 768 515 40541
58066 61458 product 0 70299 A 1 C 0 0 Vanguard_8-Light_Chandelier_-_Barn_Light_Electric_-_Modern_Chandelier_Lighting.jpg Vanguard, 700-Royal Blue, CGG-Standard Cast Guard, 48in Stem, Heavy Duty Canopy | Photo Courtesy of Homeowner 480 640 70299
65122 61455 product 0 77355 A 1 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-607-Taupe.jpg Factory Overhead 6-Light Chandelier, 607-Taupe, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77355
58068 61458 product 0 70301 A 2 C 0 0 Vanguard_8-Light_Chandelier_-_Barn_Light_Electric_-_Modern_Industrial_Lighting.jpg Vanguard, 700-Royal Blue, CGG-Standard Cast Guard, 48in Stem, Heavy Duty Canopy | Photo Courtesy of Homeowner 480 640 70301
65104 61456 product 0 77337 A 2 C 0 0 RedLights-3-commercial-interior-lighting-on-office-Mercury-8-Light-Chandelier-400-Barn-Red-36in-Stem-Wire-Guard-Clear-Glass-Original-Warehouse-Pendant-24in-400-Barn-Red-SBK.jpg Mercury 8-Light Chandelier, 400-Barn Red, WGG-Wire Guard, CLR-Clear Glass, 36" Stem | Photo Courtesy of Customer 1500 1822 77337
65123 61455 product 0 77356 A 2 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-705-Navy-390-Teal.jpg Factory Overhead 6-Light Chandelier, 705-Navy, Guard in 390-Teal, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77356
65609 61466 product 0 77842 A 2 D 0 0 Apollo-5-light-chandelier-975-galvanized.jpg Apollo 5-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 77842
30258 61456 product 0 42481 A 3 C 0 0 nautical_chandelier_lighting-750x768.jpg Mercury 8-Light Chandelier, 975-Galvanized | Customer Submission 750 768 42481
65124 61455 product 0 77357 A 3 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-100-Black.jpg Factory Overhead 6-Light Chandelier, 100-Black, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77357
65608 61466 product 0 77841 A 3 D 0 0 Apollo-5-light-chandelier-705-navy.jpg Apollo 5-Light Chandelier, 705-Navy, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77841
68029 61456 product 0 80262 A 3 C 0 0 IMG_3044-commercial-interior-lighting-on-restaurant-Mercury-8-Light-Chandelier-975-Galvanized-36in-stem-CGG-Clear-Glass.jpg Mercury 8-Light Chandelier, 975-Galvanized, 36" Stem, Standard Cast Guard, Clear Glass | Photo Courtesy of Cousin Subs 3024 3378 80262
68383 61458 product 0 80616 A 3 C 0 0 Margaritaville_Lodge-020-commercial-exterior-lighting-hotel-Vanguard-8-Light-Chandelier-975-Galvanized-48in-stem-HSC-TGG-Clear-Glass.jpg Vanguard, 975-Galvanized, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Bucket Pendant Light, 975-Galvanized, SWH-Standard White Cord | 10" Pollock No. 2, SWH-Standard White Cord | Photo Courtesy of Derek Cress Photography 1500 999 80616
55763 61466 product 0 67996 A 4 D 0 0 Apollo-5-light-chandelier-307-emerald.jpg Apollo 5-Light Chandelier, 307-Emerald Green, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 67996
65126 61455 product 0 77359 A 4 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-800-Industrial-Grey.jpg Factory Overhead 6-Light Chandelier, 800-Industrial Guard, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77359
68382 61458 product 0 80615 A 4 C 0 0 Margaritaville_Lodge-22-commercial-exterior-lighting-hotel-Vanguard-8-Light-Chandelier-975-Galvanized-48in-stem-HSC-TGG-Clear-Glass.jpg Vanguard, 975-Galvanized, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Bucket Pendant Light, 975-Galvanized, SWH-Standard White Cord | 10" Pollock No. 2, SWH-Standard White Cord | Photo Courtesy of Derek Cress Photography 2000 1333 80615
58069 61458 product 0 70302 A 5 C 0 0 Vanguard_8-Light_Chandelier_-_Barn_Light_Electric_-_Modern_Indsutrial_Chandelier_Lighting.jpg Vanguard, 700-Royal Blue, CGG-Standard Cast Guard, 48in Stem, Heavy Duty Canopy | Photo Courtesy of Homeowner 477 547 70302
65134 61455 product 0 77367 A 5 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-400-Barn-Red.jpg Factory Overhead 6-Light Chandelier, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77367
65607 61466 product 0 77840 A 5 D 0 0 Apollo-5-light-chandelier-400-barn-red.jpg Apollo 5-Light Chandelier, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77840
55762 61466 product 0 67995 A 6 D 0 0 Apollo-5-light-chandelier-100-black.jpg Apollo 5-Light Chandelier, 100-Black, CGG-Standard Cast Guard, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 67995
65125 61455 product 0 77358 A 6 D 0 0 Atomic-Factory-Overhead-6-Light-Chandelier-300-Dark-Green.jpg Factory Overhead 6-Light Chandelier, 300-Dark Green, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77358
32326 61466 product 0 44559 A 7 C 0 0 D2_Interieurs,_Apollo_5-Light_Chandelier,_975-Galvanized.jpeg Apollo 5-Light Chandelier, 975-Galvanized, 24" Stem, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of D2 Interieurs and Alexandra Rowley 2324 1536 44559
66207 61466 product 0 78440 A 7 C 0 0 DSC03638-residential-interior-lighting-bedroom-Apollo-5-Light-Chandelier-600-Bronze-24in-Stem-Heavy-Duty-Cast-Guard-Ribbed-Glass.jpg Apollo 5-Light Chandelier, 600-Bronze, 24" Stem, Heavy Duty Cast Guard, Ribbed Glass | Photo Courtesy of Dion Williams 7952 5304 78440
69129 61455 product 0 81362 A 7 C 0 0 barn_light-1-residential-interior-lighting-on-barn-garage-Factory-Overhead-6-Light-Chandelier-615-Oil-Rubbed-Bronze-48in-stem-HDC-CGG-Clear-Glass.jpg Factory Overhead 6-Light Chandelier, 615-Oil-Rubbed Bronze, CGG-Standard Cast Guard, CLR-Clear Glass, 48" Stem, Heavy Duty Stem Mount Canopy | Photo Courtesy of Customer 1500 999 81362
69130 61455 product 0 81363 A 8 C 0 0 barn_light-6-residential-interior-lighting-on-barn-garage-Factory-Overhead-6-Light-Chandelier-615-Oil-Rubbed-Bronze-48in-stem-HDC-CGG-Clear-Glass.jpg Factory Overhead 6-Light Chandelier, 615-Oil-Rubbed Bronze, CGG-Standard Cast Guard, CLR-Clear Glass, 48" Stem, Heavy Duty Stem Mount Canopy | Photo Courtesy of Customer 1500 1001 81363
68402 61455 product 0 80635 A 9 C 0 0 Voodoo_Brewery-7-commercial-interior-lighting-on-brewery-bar-Factory-Overhead-6-Light-Chandelier-100-Black-48in-stem-CGG-100-Black-Clear-Glass.jpg Factory Overhead 6-Light Chandelier, 100-Black, CGG-Standard Cast Guard, CLR-Clear Glass | Photo Courtesy of Derek Cress Photography 2000 1333 80635
68401 61455 product 0 80634 A 10 C 0 0 Voodoo_Brewery-6-commercial-interior-lighting-on-brewery-bar-Factory-Overhead-6-Light-Chandelier-100-Black-48in-stem-CGG-100-Black-Clear-Glass.jpg Factory Overhead 6-Light Chandelier, 100-Black, CGG-Standard Cast Guard, CLR-Clear Glass | Photo Courtesy of Derek Cress Photography 2000 2994 80634
32514 61455 product 0 44747 A 11 C 0 0 industrial_pendant_lighting-577x768.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, FST-Frosted Glass | Photo Courtesy of D2 Interieurs and Alexandra Rowley 577 768 44747
46278 61455 product 0 58511 A 12 C 0 0 975-Galvanized_-_Factory_Overhead_6-Light_Chandelier_-_Barn_Light_Electric.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Homeowner and Tosnflies Photography 2095 1400 58511
19070 61455 product 0 30777 A 13 C 0 0 factory_overhead_975_galvanized.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized | Photo Courtesy of Homeowner 900 1200 30777
23522 61455 product 0 35450 A 14 C 0 0 factory-overhead-twisted-root-burger-company.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard | Photo Courtesy of Twisted Root Burger Company 600 400 35450
53614 61455 product 0 65847 A 15 C 0 0 639a2256_factory_overhead_chandelier.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard, Frosted Glass 3353 3806 65847
21190 61455 product 0 33071 A 16 C 0 0 factory-overhead-shilohs.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard, FST-Frosted Glass | Photo Courtesy of Shiloh's Steak & Seafood, Titusville, FL 600 900 33071
46279 61455 product 0 58512 A 17 C 0 0 Factory_Overhead_6-Light_Chandelier_-_Barn_Light_Electric.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Homeowner and Tosnflies Photography 2097 1400 58512
53615 61455 product 0 65848 A 18 C 0 0 IMG_5756_factory_overhead_chandelier_galvanized_CGG_frosted.JPG Factory Overhead 6-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard, Frosted Glass 5184 3888 65848
53616 61455 product 0 65849 A 19 C 0 0 639a2259_blue_collar_pendant_static_ring_pendant_industrial_guard_pendant.jpg Factory Overhead 6-Light Chandelier, 975-Galvanized, CGG-Standard Cast Guard, FST-Frosted Glass 5760 3840 65849