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 (64941, 64942, 64943, 61954) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00076

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": 31,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64941,64942,64943,61954)"
        }
      }
    },
    "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
19072 61954 product 0 30779 A 0 D 0 0 schoolhouse-primary-flush-pendant-small-opaque-500-buttery-yellow-triple-painted-band.jpg Primary Schoolhouse Flush Mount Light, 500-Buttery Yellow, Triple Painted Band 1000 1000 30779
48356 64943 product 0 60589 A 0 D 0 0 drum-glass-clear.jpg Drum Schoolhouse Glass, Clear 1000 1000 60589
48358 64941 product 0 60591 A 0 D 0 0 acorn-glass-opaque.jpg Acorn Schoolhouse Glass, Opaque 1000 1000 60591
48361 64942 product 0 60594 A 0 D 0 0 globe-glass-clear.jpg Round Schoolhouse Glass, Clear 1000 1000 60594
60880 64943 product 0 73113 A 0 D 0 0 schoolhouse-drum-chain-clear-stripe-none-charcoal-granite-cord-cloth-red-white-bulb-G30.jpg Drum Schoolhouse Chain Hung, Clear Glass with No Painted Band 1000 1000 73113
60881 64943 product 0 73114 A 0 D 0 0 Drum-schoolhouse-sconce-Blush-Pink.jpg Drum Schoolhouse Sconce, Opaque Glass with Single Band in 100-Black 1000 1000 73114
60882 64943 product 0 73115 A 0 D 0 0 schoolhouse-drum-cord-clear-stripe-PB8-copper-raw-cord-twist-brown-bulb-chrome.jpg Drum Schoolhouse Pendant, Clear Glass with Four Painted Band in 100-Black 1000 1000 73115
60883 64943 product 0 73116 A 0 D 0 0 schoolhouse-drum-flush-semi-opaque-stripe-PB9-jadite.jpg Drum Schoolhouse Semi-Flush Light, Opaque Glass with Seven Painted Band in 311-Jadite 1000 1000 73116
60884 64941 product 0 73117 A 0 D 0 0 schoolhouse-acorn-stem-clear-stripe-none-copper-oil-rubbed-bulb-G30.jpg Acorn Schoolhouse Stem Mount Light, Clear Glass with No Painted Band 1000 1000 73117
60885 64941 product 0 73118 A 0 D 0 0 schoolhouse-acorn-flush-opaque-stripe-PB5-dark-green.jpg Acorn Schoolhouse Flush Mount, Opaque Glass with Three Painted Band in 300-Dark Green 1000 1000 73118
60886 64941 product 0 73119 A 0 D 0 0 schoolhouse-acorn-flush-semi-clear-stripe-PB4-copper-raw-black-bulb-G30.jpg Acorn Schoolhouse Semi-Flush Mount, Clear Glass with Three Painted Band in 100-Black 1000 1000 73119
60887 64941 product 0 73120 A 0 D 0 0 schoolhouse-acorn-cord-opaque-clear-stripe-PB6-red-cord-twist-red-white.jpg Acorn Schoolhouse Pendant, Opaque Glass with Five Painted Band in 400-Barn Red 1000 1000 73120
60876 64942 product 0 73109 A 1 D 0 0 schoolhouse-globe-flush-opaque-stripe-none-chartreuse.jpg Round Schoolhouse Flush Mount, Opaque Glass with No Painted Band 1000 1000 73109
63651 61954 product 0 75884 A 1 D 0 0 schoolhouse-primary-flush-pendant-large-clear-glass-615-oil-rubbed-bronze.jpg Primary Schoolhouse Flush Mount Light, 615-Oil-Rubbed Bronze, Large Clear Glass 1000 1000 75884
19100 61954 product 0 30807 A 2 D 0 0 schoolhouse-primary-flush-pendant-small-clear-glass-975-galvanized-715-delphite-single-painted-band.jpg Primary Schoolhouse Flush Mount Light, 975-Galvanized, Single Painted Band, 715-Delphite 1000 1000 30807
60877 64942 product 0 73110 A 2 D 0 0 schoolhouse-globe-cord-clear-stripe-PB10-galvanized-jadite-cord-cloth-black-bulb-round.jpg Round Schoolhouse Pendant, Clear Glass with Two Painted Band in 311-Jadite 1000 1000 73110
31676 61954 product 0 43909 A 3 D 0 0 schoolhouse-primary-flush-pendant-small-clear-307-emerald-green.jpg Primary Schoolhouse Flush Mount Light, 307-Emerald Green, Small Clear Glass 1000 1000 43909
60879 64942 product 0 73112 A 3 D 0 0 schoolhouse-globe-gooseneck-opaque-stripe-PB11-G26-barn-red.jpg Round Schoolhouse Gooseneck Light, Opaque Glass with Three Painted Band in 400-Barn Red 1000 1000 73112
31678 61954 product 0 43911 A 4 D 0 0 schoolhouse-primary-flush-pendant-large-clear-glass-975-galvanized-311-jadite-triple-painted-band.jpg Primary Schoolhouse Flush Mount Light, 975-Galvanized, Triple Painted Band, 311-Jadite 1000 1000 43911
60878 64942 product 0 73111 A 4 D 0 0 schoolhouse-globe-stem-clear-stripe-PB12-brass-raw-black-bulb-chrome.jpg Round Schoolhouse Stem Mount Pendant, Clear Glass with Four Painted Band in 100-Black 1000 1000 73111
31677 61954 product 0 43910 A 5 D 0 0 schoolhouse-primary-flush-pendant-small-opaque-400-barn-bed-double-painted-band.jpg Primary Schoolhouse Flush Mount Light, 400-Barn Red, Double Painted Band 1000 1000 43910
31679 61954 product 0 43912 A 6 D 0 0 schoolhouse-primary-flush-pendant-large-opaque-100-black-single-painted-band.jpg Primary Schoolhouse Flush Mount Light, 100-Black, Single Painted Band 1000 1000 43912
64226 61954 product 0 76459 A 7 C 0 0 pagliaro_04-residential-interior-craft-room-lighting-primary-schoolhouse-flush-mount-Large-Opaque-400-Barn-Red.JPG Primary Schoolhouse Flush Mount, 400-Barn Red, Large Opaque Glass | Photo Courtesy of Homeowner 1939 2584 76459
60781 61954 product 0 73014 A 8 C 0 0 Primary_Schoolhouse_Flush_Mount_Light_-_Barn_Light_Electric_-_Kids_Bathroom_Colorful_Lighting.png Primary Schoolhouse Flush Mount Light, 570-Sunflower Fitter, Small Opaque Glass, Triple Painted Band in 390-Teal | Photo Courtesy of Lara Anderson (@3nutshells) and Dwelling Photography (@dwellingphotography) 843 537 73014
61667 61954 product 0 73900 A 9 C 0 0 Primary_Schoolhouse_Flush_Mount_Light_-_805_Charcoal_Granite_Barn_Light_Electric_-_Bedroom_Lighting.jpg Primary Schoolhouse Flush Mount Light, 805-Charcoal Granite Fitter, Large Opaque Glass | Photo Courtesy of Brooke Green 1500 1000 73900
60780 61954 product 0 73013 A 10 C 0 0 Primary_Schoolhouse_Flush_Mount_Light_-_570_Sunflower_Barn_Light_Electric_-_Colorful_Bathroom_Lighting.jpg Primary Schoolhouse Flush Mount Light, 570-Sunflower Fitter, Small Opaque Glass, Triple Painted Band in 390-Teal | Photo Courtesy of Lara Anderson (@3nutshells) and Dwelling Photography (@dwellingphotography) 1500 1000 73013
31675 61954 product 0 43908 A 11 C 0 0 1.jpg Primary Schoolhouse Flush Mount Light, 100-Black, Small Opaque Glass, Triple Painted Band | Photo Courtesy of Life & Renovations 600 1004 43908
32629 61954 product 0 44862 A 12 C 0 0 letterman_schoolhouse_flush_small_buttery_yellow2.jpg Primary Schoolhouse Flush Mount Light, 500-Buttery Yellow, Small Opaque Glass, No Painted Band | Photo Courtesy of Customer 1024 1365 44862
32628 61954 product 0 44861 A 13 C 0 0 schoolhouse_flush_mount_small_blkfitter_triple_bands3.jpg Primary Schoolhouse Flush Mount Light, 100-Black, Small Opaque GlassTriple Painted Band | Photo Courtesy of Customer 1024 1365 44861
56109 61954 product 0 68342 A 14 C 0 0 primary_schoolhouse_flush_mount_large_clear_galvanizedfitter-residential-interior-kitchen.jpg Primary Schoolhouse Flush Mount Light, 975-Galvanized Fitter, Large Clear Glass | Photo Courtesy of Homeowner 3024 4032 68342
62188 61954 product 0 74421 A 15 C 0 0 Primary_Schoolhouse_Flush_Mount_Light_Small_Opaque_400-BarnRed.JPG Primary Schoolhouse Flush Mount Light, 400-Barn Red Fitter, Small Opaque Glass, Double Painted Band, 400-Barn Red | Photo Courtesy of Homeowner 1746 1843 74421