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 (
    64728, 64743, 64738, 65499, 65498, 65497, 
    65558
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00259

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": 75,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64728,64743,64738,65499,65498,65497,65558)"
        }
      }
    },
    "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
37286 64728 product 0 49519 A 0 D 0 0 wilcox-10in-975-galvanized-bantam-sconce.jpg 10" Bantam Wilcox, 975-Galvanized 1000 1000 49519
37565 64738 product 0 49798 A 0 D 0 0 Aero-Sconce-12in-705-navy.jpg 12" Aero Wall Sconce, 705-Navy 1000 1000 49798
59421 65497 product 0 71654 A 0 D 0 0 acorn-schoolhouse-sconce-Chartreuse.jpg Acorn Schoolhouse Glass, 380-Chartreause, Five Painted Band, 100-Black 1000 1000 71654
59449 65498 product 0 71682 A 0 D 0 0 Drum-schoolhouse-sconce-Blush-Pink.jpg Drum Schoolhouse Sconce, 480-Blush Pink, Opaque Glass, Single Painted Band, 100-Black 1000 1000 71682
59471 65499 product 0 71704 A 0 D 0 0 0-Globe-schoolhouse-sconce-Oil-Rubbed-alt.jpg Round Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Opaque Glass 1000 1000 71704
59472 65499 product 0 71705 A 0 D 0 0 0-Globe-schoolhouse-sconce-Buttery-Yellow-alt.jpg Round Schoolhouse Sconce, 500-Buttery Yellow, Clear Glass, Two Painted Band, 100-Black 1000 1000 71705
59475 65499 product 0 71708 A 0 D 0 0 0-Globe-schoolhouse-sconce-Delphite-alt.jpg Round Schoolhouse Sconce, 715-Delphite Blue, Opaque Glass 1000 1000 71708
59476 65499 product 0 71709 A 0 D 0 0 0-Globe-schoolhouse-sconce-Barn-Red-alt.jpg Round Schoolhouse Sconce, 400-Barn Red, Opaque Glass, Four Painted Band 1000 1000 71709
59477 65499 product 0 71710 A 0 D 0 0 0-Globe-schoolhouse-sconce-Royal-Blue-alt.jpg Round Schoolhouse Sconce, 700-Royal Blue, Clear Glass, Three Painted Band 1000 1000 71710
59478 65499 product 0 71711 A 0 D 0 0 0-Globe-schoolhouse-sconce-Black-alt.jpg Round Schoolhouse Sconce, 100-Black, Opaque Glass, Three Painted Band 1000 1000 71711
59479 65499 product 0 71712 A 0 D 0 0 0-Globe-schoolhouse-sconce-Galvanized-alt.jpg Round Schoolhouse Sconce, 975-Galvanized, Clear Glass 1000 1000 71712
60060 65499 product 0 72293 A 0 C 0 0 Round_Schoolhouse_Sconce_-_Barn_Light_Electric_-_Restaurant_Lighting.jpg Round Schoolhouse Sconce, 500-Buttery Yellow Fitter, Opaque Glass, Two Painted Bands in 390-Teal 4000 6000 72293
63659 65558 product 0 75892 A 0 D 0 0 Loma-Sconce-307-Emerald-Green-307-emerald-green.jpg Loma Adjustable Wall Sconce, 307-Emerald Green 1000 1000 75892
64459 64743 product 0 76692 A 0 D 0 0 Sterling-Sconces-16in-975-galvanized.jpg 16" Sterling Wall Sconce, 975-Galvanized 1000 1000 76692
59061 64728 product 0 71294 A 1 D 0 0 wilcox-8in-400-barn-red-bantam-sconce.jpg 8" Bantam Wilcox, 400-Barn Red 1000 1000 71294
59414 65497 product 0 71647 A 1 D 0 0 acorn-schoolhouse-sconce-Lavender-clear.jpg Acorn Schoolhouse Sconce, 790-Lavender, Opaque Glass 1000 1000 71647
59450 65498 product 0 71683 A 1 D 0 0 Drum-schoolhouse-sconce-Galvanized.jpg Drum Schoolhouse Sconce, 975-Galvanized, Opaque Glass 1000 1000 71683
64169 64738 product 0 76402 A 1 D 0 0 Aero-Sconce-14in-galvanized-CGG-RIB.jpg 14" Aero Wall Sconce, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 76402
71083 65558 product 0 83316 A 1 D 0 0 Loma-Sconce-630-Beige.jpg Loma Adjustable Wall Sconce, 630-Beige, Shown with Oval LED Tala Lamp 1000 1000 83316
37567 64738 product 0 49800 A 2 D 0 0 Aero-Sconce-12in-580-Sunflower.jpg 12" Aero Wall Sconce, 580-Sunflower 1000 1000 49800
59415 65497 product 0 71648 A 2 D 0 0 acorn-schoolhouse-sconce-Emerald-Green-Clear.jpg Acorn Schoolhouse Sconce, 307-Emerald Green, Clear Glass 1000 1000 71648
59451 65498 product 0 71684 A 2 D 0 0 Drum-schoolhouse-sconce-Roayal-Blue.jpg Drum Schoolhouse Sconce, 700-Royal Blue, Clear Glass, Seven Painted Band 1000 1000 71684
63662 65558 product 0 75895 A 2 D 0 0 Loma-Sconce-500-buttery-yellow-500-buttery-yellow.jpg Loma Adjustable Wall Sconce, 500-Buttery Yellow 1000 1000 75895
37285 64728 product 0 49518 A 3 C 0 0 Bantam_Wesco_Sconce.jpg 10" Bantam Wilcox Wall Sconce, 307-Emerald Green | Photo Courtesy of Janna @yellowprairieinteriors 1066 1600 49518
59413 65497 product 0 71646 A 3 D 0 0 acorn-schoolhouse-sconce-Buttery-Yellow-Black.jpg Acorn Schoolhouse Sconce, 500-Buttery Yellow, Opaque Glass, Three Painted Band, 100-Black 1000 1000 71646
59452 65498 product 0 71685 A 3 D 0 0 Drum-schoolhouse-sconce-oil-Rubbed.jpg Drum Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Clear Glass 1000 1000 71685
63666 65558 product 0 75899 A 3 D 0 0 loma-sconce-997-natural-raw-brass-white-interior-csgw.jpg Loma Adjustable Wall Sconce, 997-Natural Raw Brass, Interior in 200-White, Plug-in Option, CSGW-Gold & White Cloth Cord 1000 1000 75899
64170 64738 product 0 76403 A 3 D 0 0 Aero-Sconce-16in-100-black-WC-975-galvanized.jpg 16" Aero Wall Sconce, 100-Black, Wire Cage, 975-Galvanized 1000 1000 76403
64455 64743 product 0 76688 A 3 D 0 0 Sterling-Sconces-12in-850-graphite.jpg 12" Sterling Wall Sconce, 810-Graphite 1000 1000 76688
37287 64728 product 0 49520 A 4 C 0 0 barn_wall_sconces-577x768.jpg 8" Bantam Wilcox Wall Sconce, 200-White | Photo Courtesy of Choux Designs 577 768 49520
37566 64738 product 0 49799 A 4 D 0 0 Aero-Sconce-14in-480-blush-pink.jpg 12" Aero Wall Sconce, 480-Blush Pink 1000 1000 49799
59418 65497 product 0 71651 A 4 D 0 0 acorn-schoolhouse-sconce-Barn-Red.jpg Acorn Schoolhouse Sconce, 400-Barn Red, Opaque Glass, Five Painted Band 1000 1000 71651
59453 65498 product 0 71686 A 4 D 0 0 Drum-schoolhouse-sconce-Jadite.jpg Drum Schoolhouse Sconce, 370-Mint, Opaque Glass, Four Painted Band 1000 1000 71686
64456 64743 product 0 76689 A 4 D 0 0 Sterling-Sconces-14in-200-white.jpg 14" Sterling Wall Sconce, 200-White 1000 1000 76689
71082 65558 product 0 83315 A 4 D 0 0 Loma-Sconce-705-navy-997-raw-brass.jpg Loma Adjustable Wall Sconce, 705-Navy, Interior in 997-Natural Raw Brass 1000 1000 83315
37665 64743 product 0 49898 A 5 D 0 0 Sterling-Sconces-12in-750-cobalt-CGG-FST.jpg 12" Sterling Wall Sconce, 710-Cobalt Blue, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 49898
59058 64738 product 0 71291 A 5 D 0 0 Aero-Sconce-12in-307-emerald-green.jpg 12" Aero Wall Sconce, 307-Emerald Green 1000 1000 71291
59416 65497 product 0 71649 A 5 D 0 0 acorn-schoolhouse-sconce-Galvanized.jpg Acorn Schoolhouse Sconce, 975-Galvanized, Clear Glass, Three Painted Band, 715-Delphite Blue 1000 1000 71649
59454 65498 product 0 71687 A 5 D 0 0 Drum-schoolhouse-sconce-Navy-Clear.jpg Drum Schoolhouse Sconce, 705-Navy, Clear Glass, Single Painted Band 1000 1000 71687
62189 64728 product 0 74422 A 5 C 0 0 Bantam_Wilcox_Deep_Bowl_Sconce_8inch_200_White.jpg 8" Bantam Wilcox Wall Sconce, 200-White | Photo Courtesy of Homeowner 1500 2000 74422
63663 65558 product 0 75896 A 5 D 0 0 Loma-Sconce-615-oil-rubbed-bronze-200-white.jpg Loma Adjustable Wall Sconce, 615-Oil-Rubbed Bronze, Interior in 200-White 1000 1000 75896
37288 64728 product 0 49521 A 6 C 0 0 Bantam_Wesco_Sconce_Emerald_Green.jpg 10" Bantam Wilcox Wall Sconce, 307-Emerald Green | Photo Courtesy of Janna @yellowprairieinteriors 1066 1600 49521
59420 65497 product 0 71653 A 6 D 0 0 acorn-schoolhouse-sconce-Blush-Pink.jpg Acorn Schoolhouse Sconce, 480-Blush Pink, Clear Glass 1000 1000 71653
59455 65498 product 0 71688 A 6 D 0 0 Drum-schoolhouse-sconce-Buttery-Yellow.jpg Drum Schoolhouse Sconce, 500-Buttery Yellow, Opaque Glass, Four Painted Band 1000 1000 71688
63665 65558 product 0 75898 A 6 D 0 0 Loma-Sconce-975-galvanized-200-white.jpg Loma Adjustable Wall Sconce, 975-Galvanized, Interior in 200-White 1000 1000 75898
64171 64738 product 0 76404 A 6 D 0 0 Aero-Sconce-16in-200-white.jpg 16" Aero Wall Sconce, 200-White 1000 1000 76404
37554 64738 product 0 49787 A 7 C 0 0 astro-sconce-bronze.jpg 12" Aero Wall Sconces, 600-Bronze | Photo Courtesy of Customer 500 700 49787
54031 64743 product 0 66264 A 7 C 0 0 residential-interior-sterling-wall-sconce-orange-kids-bedroom.jpg 12” Sterling Wall Sconce, 420-Orange, Plug with Inline On/Off Switch, CSW-White Cloth | Photo Courtesy of Bentley Waters www.bentleywaters.com 5522 3652 66264
59419 65497 product 0 71652 A 7 D 0 0 acorn-schoolhouse-sconce-Black-Clear.jpg Acorn Schoolhouse Sconce, 100-Black, Clear Glass, Five Painted Band 1000 1000 71652
59456 65498 product 0 71689 A 7 D 0 0 Drum-schoolhouse-sconce-Barn-Red.jpg Drum Schoolhouse Sconce, 400-Barn Red, Opaque Glass, Seven Painted Band 1000 1000 71689
63660 65558 product 0 75893 A 7 D 0 0 Loma-Sconce-400-barn-red-200-white-swivel.jpg Loma Adjustable Wall Sconce, 400-Barn Red, Interior in 200-White 1000 1000 75893
37558 64738 product 0 49791 A 8 C 0 0 astro-sconce-white.jpg 12" Aero Wall Sconce, 200-White | Photo Courtesy of Customer 500 700 49791
54032 64743 product 0 66265 A 8 C 0 0 residential-interior-sterling-wall-sconce-orange-kids-bedroom-single.jpg 12” Sterling Wall Sconce, 420-Orange, Plug with Inline On/Off Switch, CSW-White Cloth | Photo Courtesy of Bentley Waters www.bentleywaters.com 3600 5400 66265
59422 65497 product 0 71655 A 8 D 0 0 acorn-schoolhouse-sconce-Delphite-Clear.jpg Acorn Schoolhouse Sconce, 715-Delphite Blue, Five Painted Band 1000 1000 71655
59514 65498 product 0 71747 A 8 C 0 0 Drum_Wall_Sconce_-_Black_Barn_Light_Electric_-_Farmhouse_Exterior_Porch_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2005 71747
62451 65558 product 0 74684 A 8 D 0 0 Loma-Sconce-100-black-400-barn-red.jpg Loma Adjustable Wall Sconce, 100-Black, Interior in 400-Barn Red 1000 1000 74684
59417 65497 product 0 71650 A 9 D 0 0 0-acorn-schoolhouse-sconce-oil-Rubbed.jpg Acorn Schoolhouse Sconce, 615-Oil-Rubbed Bronze, Opaque Glass 1000 1000 71650
59513 65498 product 0 71746 A 9 C 0 0 Drum_Wall_Sconce_-_100_Black_Barn_Light_Electric_-_Farmhouse_Front_Porch_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2003 71746
60356 64738 product 0 72589 A 9 C 0 0 Aero_Wall_Sconce_-_Barn_Light_Electric_-_Kitchen_Wall_Sconce_Lighting.JPG 12" Aero Wall Sconce, 300-Dark Green (Also Pictured: Outback Pendant Light) | Photo Courtesy of Ann Kelly Interiors (@annkellyinteriors) 1204 1186 72589
63661 65558 product 0 75894 A 9 D 0 0 Loma-Sconce-480-blush-pink-490-magenta.jpg Loma Adjustable Wall Sconce, 480-Blush Pink, Interior in 490-Magenta 1000 1000 75894
59424 65497 product 0 71657 A 10 D 0 0 acorn-schoolhouse-sconce-Navy-Clear.jpg Acorn Schoolhouse Sconce, 705-Navy, Clear Glass, Three Painted Band 1000 1000 71657
63674 65558 product 0 75907 A 10 C 0 0 Commercial-Interior-Office-Conference-room-Loma-Sconce-715-delphite.jpg Loma Adjustable Wall Sconce, 715-Delphite 1500 2250 75907
64118 65498 product 0 76351 A 10 C 0 0 bar-The_Lede-commercial-interior-bar-restaurant-lighting-Drum-Schoolhouse-Sconce-Opaque-480-Blush-Pink-Four-Painted-Bands-100-Black.jpg Drum Schoolhouse, Opaque Glass, 480-Blush Pink, Four Painted Band, 100-Black | Photo Courtesy of The Lede 1500 1875 76351
64642 64738 product 0 76875 A 10 C 0 0 residential-interior-bathroom-vanity-Aero-Wall-Sconce-12in-550-Yellow.jpg 12" Aero Wall Sconce, 550-Yellow 750 1000 76875
59423 65497 product 0 71656 A 11 D 0 0 acorn-schoolhouse-sconce-Jadite.jpg Acorn Schoolhouse Sconce, 370-Mint, Opaque Glass, Five Painted Band 1000 1000 71656
59512 65498 product 0 71745 A 11 C 0 0 Drum_Wall_Sconce_-_Black_Barn_Light_Electric_-_Front_Porch_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2000 71745
63675 65558 product 0 75908 A 11 C 0 0 residential-interior-bedroom-loma-sconce-997-raw-brass-200-white-cord-CSGW-White-Gold.jpg Loma Adjustable Wall Sconce, 997-Natural Raw Brass, Interior in 200-White, Plug-in Option, CSGW-Gold & White Cloth Cord 1500 1324 75908
59425 65497 product 0 71658 A 12 D 0 0 acorn-schoolhouse-sconce-Royal-Blue.jpg Acorn Schoolhouse Sconce, 700-Royal Blue, Clear Glass, Three Painted Band 1000 1000 71658
60059 65497 product 0 72292 A 12 C 0 0 Acorn_Schoolhouse_Glass_-_Barn_Light_Electric_-_Hallway_Lighting.jpg Acorn Schoolhouse Sconce, 705-Navy Blue, Opaque Glass, No Painted Band 5509 3671 72292
60300 65498 product 0 72533 A 12 C 0 0 Drum_Schoolhouse_Sconce_-_Black_Barn_Light_Electric_-_Modern_Farmhouse_Bathroom_Lighting.jpg Drum Schoolhouse Sconce, 100-Black, Opaque Glass, Four Painted Bands in Black | Photo Courtesy of Stacey Rosetti (@stacey.athome) 1500 2000 72533
65043 65497 product 0 77276 A 12 C 0 0 IMG_3258-residential-interior-entryway-lighting-acorn-led-schoolhouse-sconce-opaque-390-teal.JPG Acorn Schoolhouse Sconce, Opaque, 390-Teal | Photo Courtesy of Homeowner 4032 3024 77276
65045 65497 product 0 77278 A 12 C 0 0 IMG_3260-residential-interior-entryway-lighting-acorn-led-schoolhouse-sconce-opaque-390-teal.JPG Acorn Schoolhouse Sconce, Opaque, 390-Teal | Photo Courtesy of Homeowner 4032 3024 77278
65534 65497 product 0 77767 A 12 C 0 0 acorn-schoolhouse-sconce-teal.jpg Acorn Schoolhouse Sconce, Opaque Glass, 390-Teal, Four Painted Bands | Photo Courtesy of Homeowner 3024 4032 77767
60041 65498 product 0 72274 A 13 C 0 0 Drum_Schoolhouse_Sconce_-_Delphite_Bands_Barn_Light_Electric_-_Office_Lighting.jpg Drum Schoolhouse Sconce, Opaque Glass, 615-Oil-Rubbed Bronze Fitter Finish, Four Painted Bands in 715-Delphite Blue 1500 1942 72274
60042 65498 product 0 72275 A 14 C 0 0 Drum_Schoolhouse_Wall_Sconce_-_Barn_Light_Electric_-_Barn_Red_Kids_Bedroom_Lighting.jpg Drum, Opaque Glass, 400-Barn Red Fitter Finish, Seven Painted Bands in 715-Delphite Blue 1500 2250 72275