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

Query time 0.00093

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": 48,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (61622,61623,63431,63434)"
        }
      }
    },
    "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
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
31718 63434 product 0 43951 A 0 D 0 0 primary-schoolhouse-chandelier-3-light-linear-large-clear-997-raw-brass-alt.jpg Primary Schoolhouse 3-Light Chandelier, 997-Natural Raw Brass, Large Clear Glass 1000 1000 43951
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
63938 63434 product 0 76171 A 0 D 0 0 primary-schoolhouse-chandelier-3-light-linear-small-glass-clear-200-white-double-painted-band-700-royal-blue-decorative-canopy.jpg Primary Schoolhouse 3-Light Chandelier, 200-White, Small Clear Glass, Double Painted Band, 700-Royal Blue, Beehive Canopy 1000 1000 76171
63939 63434 product 0 76172 A 0 D 0 0 primary-schoolhouse-chandelier-3-light-linear-small-glass-clear-300-dark-green-decorative-canopy.jpg Primary Schoolhouse 3-Light Chandelier, 300-Dark Green, Small Clear Glass, Beehive Canopy 1000 1000 76172
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
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
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
63940 63434 product 0 76173 A 1 D 0 0 primary-schoolhouse-chandelier-3-light-linear-small-glass-opaque-100-black-triple-painted-band-715-delphite-hang-straight-canopy.jpg Primary Schoolhouse 3-Light Chandelier, 100-Black, Small Opaque Glass, Triple Painted Band, 715-Delphite, Hang Straight Canopy 1000 1000 76173
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
31717 63434 product 0 43950 A 2 D 0 0 primary-schoolhouse-chandelier-3-light-linear-large-glass-clear-975-galvanized-double-painted-band-100-black.jpg Primary Schoolhouse 3-Light Chandelier, 975-Galvanized, Large Clear Glass, Double Painted Band, 100-Black 1000 1000 43950
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
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
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
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
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
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
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
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
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
31719 63434 product 0 43952 A 6 D 0 0 primary-schoolhouse-chandelier-3-light-linear-large-glass-opaque-400-barn-red-triple-painted-band-heavy-duty-canopy.jpg Primary Schoolhouse 3-Light Chandelier, 400-Barn Red, Large Opaque Glass, Triple Painted Band, Heavy Duty Canopy 1000 1000 43952
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
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
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
46193 63434 product 0 58426 A 7 C 0 0 Screen_Shot_2019-10-21_at_8.47.25_AM.png Primary Schoolhouse 3-Light Chandelier, Large Clear Glass, 615-Oil-Rubbed Bronze Finish, 24” Mounting Arms, 36” Stem, Standard Beehive Canopy, Triple Painted Band in 200-White | Photo Courtesy of Our Modern Antebellum 577 877 58426
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
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
46192 63434 product 0 58425 A 8 C 0 0 Screen_Shot_2019-10-21_at_8.47.44_AM.png Primary Schoolhouse 3-Light Chandelier, Large Clear Glass, 615-Oil-Rubbed Bronze Finish, 24” Mounting Arms, 36” Stem, Standard Beehive Canopy, Triple Painted Band in 200-White | Photo Courtesy of Our Modern Antebellum 576 878 58425
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
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
31826 63434 product 0 44059 A 9 C 0 0 Schoolhouse_3-Light_Chandelier-galvanized.jpg Primary Schoolhouse 3-Light Chandelier, 975-Galvanized, Small Clear Glass, No Painted Band 1500 1557 44059
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
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
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
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
64997 63434 product 0 77230 A 10 C 0 0 residential-interior-lighting-kitchen-Primary-Schoolhouse-3-Light-Chandelier-Small-Opaque-106-Matte-Black-18in-arms-12in-stem-double-painted-bands-100-Black.jpg Primary Schoolhouse 3-Light Chandelier, Small Opaque Glass, 106-Matte Black, 18" Arms, 12" Stem, Double Painted Bands, 100-Black | Photo Courtesy of Homeowner 1500 2000 77230
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
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
64996 63434 product 0 77229 A 11 C 0 0 residential-interior-lighting-kitchen-Primary-Schoolhouse-3-Light-Chandelier-Small-Opaque-106-Matte-Black-18in-arms-12in-stem-double-painted-bands-100-Black_ajog-xd.jpg Primary Schoolhouse 3-Light Chandelier, Small Opaque Glass, 106-Matte Black, 18" Arms, 12" Stem, Double Painted Bands, 100-Black | Photo Courtesy of Homeowner 1500 1400 77229
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
67919 63434 product 0 80152 A 11 C 0 0 IMG_1255-residential-interior-lighting-kitchen-Primary-Schoolhouse-3-Light-Chandelier-Small-Opaque-975-Galvanized-18in-arms-3in-stem-PB2-500-Buttery-Yellow.jpg Primary Schoolhouse 3-Light Chandelier, Small Opaque, 975-Galvanized, 18" Arms, 3" Stems, 2 Painted Bands, Buttery Yellow | Customer Submission 3757 2426 80152
67920 63434 product 0 80153 A 11 C 0 0 IMG_1260-residential-interior-lighting-kitchen-Primary-Schoolhouse-3-Light-Chandelier-Small-Opaque-975-Galvanized-18in-arms-3in-stem-PB2-500-Buttery-Yellow.jpg Primary Schoolhouse 3-Light Chandelier, Small Opaque, 975-Galvanized, 18" Arms, 3" Stems, 2 Painted Bands, Buttery Yellow | Customer Submission 3024 4032 80153
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
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