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 (61444, 62670, 63431, 61622) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00151

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 (61444,62670,63431,61622)"
        }
      }
    },
    "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
16269 61444 product 0 27789 A 0 D 0 0 Alliance-3-Light-warehouse-500-buttery-yellow-CGG-RIB.jpg Alliance 3-Light Chandelier, 500-Buttery Yellow, Warehouse Shade, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 27789
17080 61622 product 0 28613 A 0 D 0 0 primary-schoolhouse-chandelier-4-light-G32-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 28613
63942 63431 product 0 76175 A 0 D 0 0 primary-schoolhouse-chandelier-2-light-linear-large-glass-opaque-400-barn-red-triple-painted-band-heavy-duty-canopy.jpg Primary Schoolhouse 2-Light Chandelier, 400-Barn Red, Large Opaque Glass, Triple Painted Band, Heavy Duty Canopy 1000 1000 76175
63962 62670 product 0 76195 A 0 D 0 0 SoHo-Marathon-Chandelier-Linear-3-Light-12in-490-Magenta-975-galvanized.jpg Marathon SoHo 3-Light Chandelier, 490-Magenta, Mounting in 975-Galvanized, 36" Stem 1000 1000 76195
22711 62670 product 0 34609 A 1 D 0 0 SoHo-Marathon-Chandelier-Linear-3-Light-12in-975-galvanized-HDC.jpg Marathon SoHo 3-Light Chandelier, 975-Galvanized, 36" Stem, Heavy Duty Canopy 1000 1000 34609
31716 63431 product 0 43949 A 1 D 0 0 primary-schoolhouse-chandelier-2-light-linear-large-glass-opaque-311-jadite-single-painted-band-decorative-canopy.jpg Primary Schoolhouse 2-Light Chandelier, 311-Jadite, Single Painted Band, Beehive Canopy 1000 1000 43949
63786 61622 product 0 76019 A 1 D 0 0 primary-schoolhouse-chandelier-4-light-G32-large-glass-clear-307-emerald-green-sc.jpg Primary 4-Light Schoolhouse Chandelier, 307-Emerald Green, Large Clear Glass 1000 1000 76019
65297 61444 product 0 77530 A 1 D 0 0 Alliance-3-Light-flared-975-galvanized-CGG-FST.jpg Alliance 3-Light Chandelier, 975-Galvanized, Flared Shade, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77530
31663 61622 product 0 43896 A 2 D 0 0 primary-schoolhouse-chandelier-4-light-G32-small-glass-clear-975-galvanized-triple-painted-band-715-delphite-sc.jpg Primary 4-Light Schoolhouse Chandelier, 975-Galvanized, Small Clear Glass, Triple Painted Band, 715-Delphite 1000 1000 43896
63944 63431 product 0 76177 A 2 D 0 0 primary-schoolhouse-chandelier-2-light-linear-small-glass-clear-300-dark-green-decorative-canopy.jpg Primary Schoolhouse 2-Light Chandelier, 300-Dark Green, Small Clear Glass, Beehive Canopy 1000 1000 76177
63961 62670 product 0 76194 A 2 D 0 0 SoHo-Marathon-Chandelier-Linear-3-Light-12in-307-emerald.jpg Marathon SoHo 3-Light Chandelier, 307-Emerald Green, 36" Stem 1000 1000 76194
65298 61444 product 0 77531 A 2 D 0 0 Alliance-3-Light-topless-200-white-WGG-RIB.jpg Alliance 3-Light Chandelier, 200-White, Topless Shade, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 77531
16270 61444 product 0 27790 A 3 D 0 0 Alliance-3-Light-flared-307-emerald-green-CGG-RIB.jpg Alliance 3-Light Chandelier, 307-Emerald Green, Flared Shade, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 27790
63783 61622 product 0 76016 A 3 D 0 0 primary-schoolhouse-chandelier-4-light-G32-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 76016
63943 63431 product 0 76176 A 3 D 0 0 primary-schoolhouse-chandelier-2-light-linear-small-glass-clear-200-white-double-painted-band-700-royal-blue-decorative-canopy.jpg Primary Schoolhouse 2-Light Chandelier, 200-White, Small Clear Glass, Double Painted Band, 700-Royal Blue, Beehive Canopy 1000 1000 76176
63963 62670 product 0 76196 A 3 D 0 0 SoHo-Marathon-Chandelier-Linear-3-Light-14in-200-white-100-black.jpg Marathon SoHo 3-Light Chandelier, 200-White, Mounting in 100-Black, 36" Stem, Heavy Duty Canopy 1000 1000 76196
22710 62670 product 0 34608 A 4 D 0 0 SoHo-Marathon-Chandelier-Linear-3-Light-12in-400-barn-red-HSC.jpg Marathon SoHo 3-Light Chandelier, 400-Barn Red, 36" Stem, Hang Straight Canopy 1000 1000 34608
31664 61622 product 0 43897 A 4 D 0 0 primary-schoolhouse-chandelier-4-light-G32-small-glass-clear-705-navy-single-painted-band-sc.jpg Primary 4-Light Schoolhouse Chandelier, 705-Navy, Small Clear Glass, Single Painted Band 1000 1000 43897
63945 63431 product 0 76178 A 4 D 0 0 primary-schoolhouse-chandelier-2-light-linear-small-glass-opaque-100-black-triple-painted-band-715-delphite-hang-straight-canopy.jpg Primary Schoolhouse 2-Light Chandelier, 100-Black, Small Opaque Glass, Triple Painted Band, 715-Delphite, Hang Straight Canopy 1000 1000 76178
65300 61444 product 0 77533 A 4 D 0 0 Alliance-3-Light-warehouse-100-black-490-magenta-WGG-RIB.jpg Alliance 3-Light Chandelier, 100-Black, WGG-Wire Guard, 490-Magenta, RIB-Ribbed Glass 1000 1000 77533
16271 61444 product 0 27791 A 5 D 0 0 Alliance-3-Light-flared-700-royal-blue-TGG-FST.jpg Alliance 3-Light Chandelier, 700-Royal Blue, Flared Shade, TGG-Heavy Duty Cast Guard, FST-Frosted Glass 1000 1000 27791
31715 63431 product 0 43948 A 5 D 0 0 primary-schoolhouse-chandelier-2-light-linear-large-glass-clear-975-galvanized-double-painted-band-100-black.jpg Primary Schoolhouse 2-Light Chandelier, 975-Galvanized, Large Clear Glass, Double Painted Band, 100-Black 1000 1000 43948
63784 61622 product 0 76017 A 5 D 0 0 primary-schoolhouse-chandelier-4-light-G32-large-glass-opaque-300-dark-green-sc.jpg Primary 4-Light Schoolhouse Chandelier, 300-Dark Green, Large Opaque Glass 1000 1000 76017
63964 62670 product 0 76197 A 5 D 0 0 SoHo-Marathon-Chandelier-Linear-3-Light-14in-705-delphite-975-galvanized.jpg Marathon SoHo 3-Light Chandelier, 715-Delphite, Mounting in 975-Galvanized, 36" Stem, Hang Straight Canopy 1000 1000 76197
22777 62670 product 0 34681 A 6 C 0 0 3_light_houston_soho_chandelier_stem_mount_705_navy-insetting.jpg Marathon SoHo 3-Light Chandelier, 705-Navy 400 600 34681
63785 61622 product 0 76018 A 6 D 0 0 primary-schoolhouse-chandelier-4-light-G32-large-glass-clear-805-charcoa-granite-double-painted-band-100-black-sc.jpg Primary 4-Light Schoolhouse Chandelier, 805-Charcoal Granite, Large Clear Glass, Double Painted Band, 100-Black 1000 1000 76018
65299 61444 product 0 77532 A 6 D 0 0 Alliance-3-Light-topless-400-barn-red-CGG-FST.jpg Alliance 3-Light Chandelier, 400-Barn Red, Topless Shade, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 77532
67294 63431 product 0 79527 A 6 C 0 0 IMG_4575-residential-interior-lighting-dining-Primary-Schoolhouse-2-Light-Chandelier-Small-Opaque-311-Jadite-12in-stem-arms-Standard-Beehive-Canopy-PB3-311-Jadite.jpg Primary Schoolhouse 2-Light Chandelier, Small Opaque, 311-Jadite, 12" Stem, Standard Beehive Canopy, 3 Painted Bands, 311-Jadite | Photo Courtesy of Sara McDaniel of Simply Southern Cottage and Hector Sanchez Photography 3024 4032 79527
32513 61444 product 0 44746 A 7 C 0 0 kitchen_pendant_lighting-768x577.jpg Alliance 3-Light Chandelier, 200-White, No Shade, CGG-Standard Cast Guard | Photo Courtesy of D2 Interieurs and Alexandra Rowley 768 577 44746
67295 63431 product 0 79528 A 7 C 0 0 IMG_4579-residential-interior-lighting-dining-room-Primary-Schoolhouse-2-Light-Chandelier-Small-Opaque-715-Delphite-Blue-12in-arms-stem-Standard-Beehive-Canopy-PB3-715-Delphite-Blue.JPG Primary Schoolhouse 2-Light Chandelier, Small Opaque, 715 Delphite Blue, 12" Stem, Standard Beehive Canopy, 3 Painted Bands, 715-Delphite Blue | Photo Courtesy of Sara McDaniel of Simply Southern Cottage and Hector Sanchez Photography 3024 4032 79528
60891 61444 product 0 73124 A 8 C 0 0 Alliance_3-Light_Chandelier_-_Barn_Light_Electric_-_Game_Room_Lighting.jpeg Alliance 3-Light Chandelier, 975-Galvanized, Warehouse Shade, CGG-Standard Cast Guard in 975-Galvanized, Ribbed Glass, 12” Stem, Standard Canopy | Photo Courtesy of Homeowner 4032 3024 73124
67292 61622 product 0 79525 A 8 C 0 0 residential-interior-lighting-living-room-wallpaper-Primary-4-Light-Schoolhouse-Chandelier-Small-Opaque-311-Jadite-12in-Stem-PB3-311-Jadite.jpg Primary 4-Light Schoolhouse 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 1500 2000 79525
68557 63431 product 0 80790 A 8 C 0 0 Barn_Light_Electric_-_Primary_Schoolhouse_2-Light_Chandelier.jpg Primary Schoolhouse 2-Light Chandelier, Small Opaque, 615-Oil-Rubbed Bronze Finish, 12” Mounting Arms, 6" Stem, Standard Beehive Canopy, Triple Painted Bands in 715-Delphite Blue | Photo Courtesy of Homeowner 1944 2592 80790
54114 63431 product 0 66347 A 9 C 0 0 primary-schoolhouse-two-light-chandelier-brave-maggie-designs.jpg Primary Schoolhouse 2-Light Chandelier, 400-Barn Red, Large Opaque Glass, Triple Painted Band, 400-Barn Red | Photo Courtesy of Jennifer Holiday from Brave Maggie Designs (@bravemaggiedesigns) 828 1104 66347
64744 61444 product 0 76977 A 9 C 0 0 image0_-_2022-03-04T143001.282-residential-exterior-porch-lighting-Alliance-3-Light-Chandelier-605-Rust-24in-Stem-Hang-straight-CGG-605-Rust-Clear-Glass.jpeg Alliance 3-Light Chandelier, 605-Rust, 24" Stem Hang Straight, CGG-Standard Cast Guard, 605-Rust, Clear Glass | Photo Courtesy of Homeowner 1312 2005 76977
67293 61622 product 0 79526 A 9 C 0 0 residential-interior-lighting-living-room-Primary-_4-Light-Schoolhouse-Chandelier-Small-Opaque-715-Delphite-Blue-12in-stem-PB3-715-Delphite-Blue.jpg Primary 4-Light Schoolhouse Chandelier, Small Opaque , 715-Delphite Blue, 12" Stem, 3 Painted Bands, 715-Delphite Blue | Photo Courtesy of Sara McDaniel of Simply Southern Cottage and Hector Sanchez Photography 1500 2000 79526
54184 61444 product 0 66417 A 10 C 0 0 barn-light-electric-chandelier-dining-room.jpg Alliance 3-Light Chandelier, 975-Galvanized, Warehouse Shade, CGG-Standard Cast Guard, Clear Glass | Photo Courtesy of The Vision House Orlando 564 727 66417
65701 61444 product 0 77934 A 10 C 0 0 image6-residential-exterior-porch-lighting-Alliance-3-Light-Chandelier-605-Rust-24in-Stem-Hang-straight-CGG-605-Rust-Clear-Glass.jpeg Alliance 3-Light Chandelier, 605-Rust, 24" Stem Hang Straight, CGG-Standard Cast Guard, 605-Rust, Clear Glass | Photo Courtesy of Homeowner 1263 1012 77934
65725 63431 product 0 77958 A 10 C 0 0 IMG_0373-commercial-interior-lighting-on-retail-Primary-Schoolhouse-2-Light-Chandelier-Large-Opaque-100-Black-12in-arms-6in-stem-Beehive-canopy-PB2-Double-Painted-Band-100-Black.jpg Primary Schoolhouse 2-Light Chandelier, Large Opaque, 100-Black, 12" Arms, 6" Stem, Beehive Canopy | Photography Courtesy of Studio Three Design 2598 3454 77958
64999 63431 product 0 77232 A 11 C 0 0 IMG_5440_residential-interior-lighting-kitchen-pantry-Primary-Schoolhouse-2-Light-Chandelier-Large-Opaque-106-Matte-Black-18in-arms-12in-stem-standard-beehive-canopy.jpg Primary Schoolhouse 2-Light Chandelier, Large Opaque, 106-Matte Black, 18" Arms, 12" Stems, Standard Beehive Canopy | Photo Courtesy of Voth Barrall Design 3024 4032 77232
65000 63431 product 0 77233 A 12 C 0 0 IMG_5474_residential-interior-lighting-kitchen-pantry-Primary-Schoolhouse-2-Light-Chandelier-Large-Opaque-106-Matte-Black-18in-arms-12in-stem-standard-beehive-canopy.jpg Primary Schoolhouse 2-Light Chandelier, Large Opaque, 106-Matte Black, 18" Arms, 12" Stems, Standard Beehive Canopy | Photo Courtesy of Voth Barrall Design 3024 4032 77233