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 (61329, 64902, 64908, 64876) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00136

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": 46,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (61329,64902,64908,64876)"
        }
      }
    },
    "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
15390 61329 product 0 26837 A 0 D 0 0 schoolhouse-primary-semi-flush-pendant-small-opaque-glass-999-oil-rubbed-copper.jpg Primary Schoolhouse Semi-Flush Mount Light, 999-Natural Oil-Rubbed Copper, Small Opaque Glass 1000 1000 26837
46921 64876 product 0 59154 A 0 D 0 0 schoolhouse-globe-flush-opaque-stripe-PB12-oil-rubbed-bronze-chocolate.jpg Round Flush Mount, 615-Oil-Rubbed Bronze, Four Painted Band, 600-Bronze 1000 1000 59154
47898 64908 product 0 60131 A 0 D 0 0 schoolhouse-drum-flush-semi-opaque-stripe-PB9-jadite.jpg Drum Semi-Flush, 311-Jadite, Opaque Glass, Seven Painted Band, 311-Jadite 1000 1000 60131
47899 64908 product 0 60132 A 0 D 0 0 schoolhouse-drum-flush-semi-opaque-stripe-none-galvanized.jpg m Semi-Flush, 975-Galvanized, Opaque Glass, No Stripe 1000 1000 60132
31711 61329 product 0 43944 A 1 D 0 0 schoolhouse-primary-semi-flush-pendant-large-clear-glass-400-barn-red-triple-painted-band.jpg Primary Schoolhouse Semi-Flush Mount Light, 400-Barn Red, Large Clear Glass, Triple Painted Band 1000 1000 43944
46922 64876 product 0 59155 A 1 D 0 0 schoolhouse-globe-flush-clear-stripe-PB11-galvanized-delphite-bulb-chrome.jpg Round Flush Mount, 975-Galvanized, Three Painted Band, 715-Delphite Blue, Shown with G40 Half-Chrome Bulb 1000 1000 59155
47814 64902 product 0 60047 A 1 D 0 0 schoolhouse-acorn-flush-semi-opaque-stripe-PB5-charcoal-granite-jadite.jpg Acorn Semi-Flush, 805-Charcoal Granite, Opaque Glass, Three Painted Band, 311-Jadite 1000 1000 60047
47900 64908 product 0 60133 A 1 D 0 0 schoolhouse-drum-flush-semi-opaque-stripe-PB7-navy.jpg Drum Semi-Flush, 705-Navy, Opaque Glass, Single Painted Band, 705-Navy 1000 1000 60133
31710 61329 product 0 43943 A 2 D 1 1781 schoolhouse-primary-semi-flush-pendant-large-opaque-glass-997-raw-brass-307-emerald-green-double-painted-band.jpg Primary Schoolhouse Semi-Flush Mount Light, 997-Natural Raw Brass, Large Opaque Glass, Double Painted Band, 307-Emerald Green 1000 1000 43943
46923 64876 product 0 59156 A 2 D 0 0 schoolhouse-globe-flush-opaque-stripe-none-chartreuse.jpg Round Flush Mount, 380-Chartreuse, Opaque Glass, No Painted Band 1000 1000 59156
47815 64902 product 0 60048 A 2 D 0 0 schoolhouse-acorn-flush-semi-opaque-stripe-PB4-royal-blue.jpg Acorn Semi-Flush, 700-Royal Blue, Three Painted Band, 700-Royal Blue 1000 1000 60048
15394 61329 product 0 26841 A 3 D 0 0 schoolhouse-primary-semi-flush-pendant-small-clear-glass-200-white-single-painted-band.jpg Primary Schoolhouse Semi-Flush Mount Light, 200-White, Small Clear Glass, Single Painted Band 1000 1000 26841
46924 64876 product 0 59157 A 3 D 0 0 schoolhouse-globe-flush-opaque-stripe-PB10-navy.jpg Round Flush Mount, 705-Navy, Opaque Glass, Two Painted Band, 705-Navy 1000 1000 59157
47816 64902 product 0 60049 A 3 D 0 0 schoolhouse-acorn-flush-semi-opaque-stripe-none-oil-rubbed-bronze.jpg Acorn Semi-Flush, 615-Oil-Rubbed Bronze, Opaque Glass, No Painted Band 1000 1000 60049
47901 64908 product 0 60134 A 3 D 0 0 schoolhouse-drum-flush-semi-clear-stripe-PB9-raw-brass-delphite-bulb-1890.jpg Drum Semi-Flush, 997-Natural Raw Brass, Opaque Glass, Seven Painted Band, 715-Delphite Blue, Shown with 1890 Edison Bulb 1000 1000 60134
15392 61329 product 0 26839 A 4 D 0 0 schoolhouse-primary-semi-flush-pendant-small-clear-glass-805-charcoal-granite-480-blush-pink-triple-painted-band.jpg Primary Schoolhouse Semi-Flush Mount Light, 805-Charcoal Granite, Small Clear Glass, Triple Painted Band, 480-Blush Pink 1000 1000 26839
46925 64876 product 0 59158 A 4 D 0 0 schoolhouse-globe-flush-clear-stripe-none-black.jpg Round Flush Mount, 100-Black, Clear Glass, No Painted Band 1000 1000 59158
47819 64902 product 0 60052 A 4 D 0 0 schoolhouse-acorn-flush-semi-clear-stripe-PB4-copper-raw-black-bulb-G30.jpg Acorn Semi-Flush, 995-Natural Raw Brass, Clear Glass, Three Painted Band, 100-Black, Shown with G30 Bulb 1000 1000 60052
47904 64908 product 0 60137 A 4 D 0 0 schoolhouse-drum-flush-semi-clear-stripe-none-oil-rubbed-copper-bulb-G30.jpg Drum Semi-Flush, 999-Natural Oil-Rubbed Copper, Clear Glass, No Stripe, Shown with G30 Bulb 1000 1000 60137
47817 64902 product 0 60050 A 5 D 0 0 schoolhouse-acorn-flush-semi-opaque-stripe-PB6-galvanized-delphite.jpg Acorn Semi-Flush, 975-Galvanized, Opaque Glass, Five Painted Band, 715-Delphite 1000 1000 60050
61198 64902 product 0 73431 A 5 D 0 0 schoolhouse-acorn-flush-semi-clear-stripe-PB6-lavender-white-bulb-1890.jpg Acorn Semi-Flush, 790-Lavender, Clear Glass, Five Painted Band, 200-White, Shown with Edison 1890 Era Bulb 1000 1000 73431
61199 64902 product 0 73432 A 5 D 0 0 schoolhouse-acorn-flush-semi-clear-stripe-PB5-dark-green-black-bulb-round.jpg Acorn Semi-Flush, 300-Dark Green, Clear Glass, Three Painted Band, 100-Black, Shown with G40 Bulb 1000 1000 73432
64102 64908 product 0 76335 A 5 D 0 0 schoolhouse-drum-flush-semi-clear-stripe-PB7-white-black-bulb-round.jpg Drum Semi-Flush, 200-White, Clear Glass, Single Painted Band, 100-Black, Shown with G30 Bulb 1000 1000 76335
68544 64876 product 0 80777 A 5 C 0 0 204PearlAve_03-residential-interior-lighting-hallway-mudroom-dog-Round-Schoolhouse-Flush-Mount-Opaque-705-Navy-PB10-2-Painted-Band-705-Navy.jpg Round Schoolhouse Flush Mount, 705-Navy, Opaque Glass, Two Painted Band, 705-Navy | Photo Courtesy of Shelley Starr Interior Design 1500 2249 80777
71116 61329 product 0 83349 A 5 D 0 0 schoolhouse-primary-semi-flush-pendant-large-clear-glass-996-weathered-copper.jpg Primary Schoolhouse Semi-Flush Mount Light, 996-Natural Weathered Copper, Large Clear Glass 1000 1000 83349
15391 61329 product 0 26838 A 6 D 0 0 schoolhouse-primary-semi-flush-pendant-small-opaque-glass-500-buttery-yellow-double-painted-band.jpg Primary Schoolhouse Semi-Flush Mount Light, 500-Buttery Yellow, Small Opaque Glass, Double Painted Band 1000 1000 26838
47902 64908 product 0 60135 A 6 D 0 0 schoolhouse-drum-flush-semi-clear-stripe-PB9-red-bulb-chrome.jpg Drum Semi-Flush, 400-Barn Red, Opaque Glass, Four Painted Band, Shown with G40 Half-Chrome Bulb 1000 1000 60135
61441 64876 product 0 73674 A 6 C 0 0 Round_Schoolhouse_Flush_Mount_Light_-_Barn_Light_Electric_-_Interior_Lighting.jpg Round Schoolhouse Flush Mount, 300-Dark Green, Opaque Glass, Double Painted Bands in 307-Emerald Green | Photo Courtesy of Avice Meehan 1317 1760 73674
53791 61329 product 0 66024 A 7 C 1 0 residential_intermediate_schoolhouse_semi_flush_mount_light_clear_glass_hallway_light_up_close__2_.jpg Primary Schoolhouse Semi-Flush Mount Light, 975-Galvanized, Large Clear Glass | Photo Courtesy of Kristi from Making It In The Mountains 800 1200 66024
61442 64876 product 0 73675 A 7 C 0 0 Round_Schoolhouse_Flush_Mount_Light_-_300_Dark_Green_Barn_Light_Electric_-_Entryway_Lighting.jpg Round Schoolhouse Flush Mount, 300-Dark Green, Opaque Glass, Double Painted Bands in 307-Emerald Green (Also pictured: Union Chain Hung Pendant Light) | Photo Courtesy of Avice Meehan 1500 2000 73675
64107 64908 product 0 76340 A 7 C 0 0 IMG_8638-residential-interior-lighting-kids-bedroom-Drum-Schoolhouse-Semi-Flush-Mount-Opaque-106-Matte-Black-PB9-Seven-Painted-Band-100-Black.jpg Drum Semi-Flush, 106-Matte Black, Opaque Glass, Seven Painted Band, 100-Black | Photo Courtesy of The Modern Proper 2388 2970 76340
58916 64908 product 0 71149 A 8 C 0 0 Drum_Schoolhouse_Semi-Flush_Mount_Pendant_Light_-_200_White_Barn_Light_Electric_-_Interior_Schoolhouse_Lighting.jpg Drum Semi-Flush, 200-White, Opaque Glass, Four Painted Band in 311-Jadite | Photo Courtesy of Todd Talbot 1500 1101 71149
61443 64876 product 0 73676 A 8 C 0 0 Round_Schoolhouse_Flush_Mount_Light_-_300_Dark_Green_Barn_Light_Electric_-_Entryway_Lighting_44iv-cm.jpg Round Schoolhouse Flush Mount, 300-Dark Green, Opaque Glass, Double Painted Bands in 307-Emerald Green | Photo Courtesy of Avice Meehan 1500 1757 73676
61787 61329 product 0 74020 A 8 C 0 0 Primary_Schoolhouse_Semi-Flush_Mount_Pendant_-_975_Galvanized_Barn_Light_Electric_-_Kitchen_Lighting.jpg Primary Schoolhouse Semi-Flush Mount Light, 975-Galvanized, Large Opaque Glass | Photo Courtesy of Hill House Design 1500 2000 74020
60779 61329 product 0 73012 A 9 C 0 0 Primary_Schoolhouse_Semi-Flush_Mount_Pendant_Light_-_975_Galvanized_Barn_Light_Electric_-_Kids_Bedroom_Lighting.jpg Primary Schoolhouse Semi-Flush Mount Light, 975-Galvanized, Large Opaque Glass, Triple Painted Bands in 400-Barn Red | Photo Courtesy of Lara Anderson (@3nutshells) and Klugmann Media 1500 1000 73012
62183 64908 product 0 74416 A 9 C 0 0 Drum_Schoolhouse_Semi_Flush_Mount_Light_Opaque_810-Graphite.jpg Drum Semi-Flush, 810-Graphite, Opaque Glass | Photo Courtesy of Homeowner 1500 2000 74416
53792 61329 product 0 66025 A 10 C 1 0 residential_intermediate_schoolhouse_semi_flush_mount_light_clear_glass_hallway_light.jpg Primary Schoolhouse Semi-Flush Mount Light, 975-Galvanized, Large Clear Glass | Photo Courtesy of Kristi from Making It In The Mountains 800 1200 66025
63155 64908 product 0 75388 A 10 C 0 0 image1-residential-interior-lighting-Drum-Schoolhouse-Semi-Flush-Mount-opaque-715-Delphite-four-painted-bands-715-Delphite.jpeg Drum Semi-Flush, 715-Delphite, Opaque Glass, Four Painted Band 1500 1806 75388
63156 64908 product 0 75389 A 11 C 0 0 image3-residential-interior-lighting-Drum-Schoolhouse-Semi-Flush-Mount-opaque-715-Delphite-four-painted-bands-715-Delphite.jpeg Drum Semi-Flush, 715-Delphite, Opaque Glass, Four Painted Band 1500 2000 75389
53738 61329 product 0 65971 A 12 C 1 0 Primary-Schoolhouse-Flush-Mount-Light-Lauren-McBride-Home-Entryway.png Primary Schoolhouse Semi-Flush Mount Light, 100-Black, Small Opaque Glass, Double Painted Bands | Photo Courtesy of Lauren McBride 1096 1314 65971
61788 61329 product 0 74021 A 13 C 0 0 Primary_Schoolhouse_Semi-Flush_Mount_Pendant_Light_-_975_Galvanized_Barn_Light_Electric_-_Interior_Lighting.jpg Primary Schoolhouse Semi-Flush Mount Light, 975-Galvanized, Large Opaque Glass | Photo Courtesy of Hill House Design 1500 2265 74021
59676 61329 product 0 71909 A 17 C 0 0 Primary_Schoolhouse_Semi-Flush_Pendant_-_400_Barn_Light_Electric_-_Farmhouse_Vintage_Kitchen_DIning_Room_Lighting.jpg Primary Schoolhouse Semi-Flush Mount Light, 400-Barn Red, Large Opaque Glass, Triple Painted Bands in 400-Barn Red | Photo Courtesy of Homeowner 1500 1969 71909
57076 61329 product 0 69309 A 19 C 0 0 Primary_Schoolhouse_Flush_Mount_Pendant_Light_-_400_Barn_Red_Barn_Light_Electric_-_Farmhouse_Barn_Home_Kitchen_Lighting.jpg Primary Schoolhouse Semi-Flush Mount Light, 400-Barn Red, Small Opaque Glass, Triple Painted Bands | Photo Courtesy April Hershberger (@barnhomeliving) 1500 2000 69309
57206 61329 product 0 69439 A 21 C 1 0 Primary_Schoolhouse_Semi-Flush_Mount_Pendant_Light_-_Barn_Light_Electric_-_Bedroom_Lighting.jpg Primary Schoolhouse Semi-Flush Mount Light, 100-Black, Small Clear Glass | Photo Courtesy of Morgan (@thewhitefarmhouseblog) 450 600 69439
18201 61329 product 0 29830 A 22 C 1 1782 intermediate_schoolhouse_semiflush_mount.jpg Primary Schoolhouse Semi-Flush Mount Light, 975-Galvanized, Small Opaque Glass, Single Painted Band, 100-Black | Photo Courtesy of Khanh Morales 540 720 29830
56277 61329 product 0 68510 A 23 C 1 0 Barn_Light_Electric_-_Primary_Schoolhouse_Semi-Flush_Mount_Pendant_-_975_Galvanized_Bathroom_Farmhouse_Lighting.jpg Primary Schoolhouse Semi-Flush Mount 975-Galvanized, Small Opaque Glass, Double Painted Band in 400-Barn Red | Photo Courtesy of Keri Petersen of KP Spaces 1500 2000 68510