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 (
    65688, 65103, 65694, 65102, 65696, 65702, 
    65716, 65717, 65697, 65695, 65690, 
    65689
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00133

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": 72,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65688,65103,65694,65102,65696,65702,65716,65717,65697,65695,65690,65689)"
        }
      }
    },
    "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
62216 65103 product 0 74449 A 0 D 0 0 Sinclair-28-Inch-Chain-Hung-Oil-Rubbed-Bronze-Galvanized-Chain-Brown-Black-Cord2-alt.jpg 28" Sinclair Chain Hung, 615-Oil-Rubbed Bronze, Mounting in 975-Galvanized, CSBB-Black & Brown Chevron Cord 1000 1000 74449
62223 65102 product 0 74456 A 0 D 0 0 sinclair-28in-400-barn-red-stem-alt.jpg 28" Sinclair Stem Mount, 400-Barn Red 1000 1000 74456
67066 65697 product 0 79299 A 0 D 0 0 Loma-basic-12in-605-rust-SBK.jpg 12" Loma, 605-Rust, SBK-Standard Black Cord 1000 1000 79299
67079 65690 product 0 79312 A 0 D 0 0 seaside-basic-cord-full-build-16in-300-dark-green-SBK.jpg 16" Seaside, 300-Dark Green, SBK-Standard Black Cord 1000 1000 79312
67081 65688 product 0 79314 A 0 D 0 0 seaside-gooseneck-12in-605-rust-G11.jpg 12" Seaside, 605-Rust, G11 Gooseneck Arm 1000 1000 79314
67082 65688 product 0 79315 A 0 D 0 0 seaside-gooseneck-16in-200-white-G1.jpg 16" Seaside, 200-White, G1 Straight Arm 1000 1000 79315
67083 65688 product 0 79316 A 0 D 0 0 seaside-gooseneck-16in-300-dark-green-G22.jpg 16" Seaside, 300-Dark Green, G22 Gooseneck Arm 1000 1000 79316
67086 65689 product 0 79319 A 0 D 0 0 seaside-basic-stem-16in-300-dark-green-short-stem.jpg 16" Seaside, 300-Dark Green, 12" Stem, Hang Straight Canopy 1000 1000 79319
67091 65696 product 0 79324 A 0 D 0 0 wilcox-basic-cord-full-build-12in-200-white-SWH.jpg 12" Wilcox, 200-White, SWH-Standard White Cord 1000 1000 79324
67093 65694 product 0 79326 A 0 D 0 0 wilcox-basic-gooseneck-12in-200-white-G1.jpg 12" Wilcox, 200-White, G1 Straight Arm 1000 1000 79326
67094 65694 product 0 79327 A 0 D 0 0 wilcox-basic-gooseneck-20in-100-black-G22.jpg 20" Wilcox, 100-Black, G22 Gooseneck Arm 1000 1000 79327
67095 65694 product 0 79328 A 0 D 0 0 wilcox-basic-gooseneck-12in-300-dark-green-G11.jpg 12" Wilcox, 300-Dark Green, G11 Gooseneck Arm 1000 1000 79328
67097 65695 product 0 79330 A 0 D 0 0 wilcox-basic-stem-12in-300-dark-green-long-stem.jpg 12" Wilcox, 300-Dark Green, 18" Stem, Hang Straight Canopy 1000 1000 79330
67248 65688 product 0 79481 A 0 C 0 0 seaside-gooseneck-residential-exterior-window-605-rust.JPG 12" Seaside, 605-Rust, G22 Gooseneck Arm 1500 2000 79481
67265 65702 product 0 79498 A 0 D 0 0 Barn-Light-Basics-Avalon-12in-605-Rust-SWH.jpg 12" Avalon, 605-Rust, SWH-Standard White Cord 1000 1000 79498
67266 65702 product 0 79499 A 0 D 0 0 barn-light-basics-avalon-16in-300-dark-green-sbk-alt.jpg 16" Avalon, 300-Dark Green, SBK-Standard Black Cord 1000 1000 79499
67668 65716 product 0 79901 A 0 D 0 0 Milan-Gooseneck-5in-307-emerald-green-G32.jpg Large Milan Gooseneck Light, 307-Emerald Green, Ribbed Glass, G32 Gooseneck Arm 1000 1000 79901
67690 65717 product 0 79923 A 0 D 0 0 Venice-Gooseneck-4in-100-black-G65.jpg Small Venice Cylinder Gooseneck Light, 100-Black, Four Standard Slots, G65 Gooseneck Arm 1000 1000 79923
67693 65717 product 0 79926 A 0 D 0 0 venice-gooseneck-5in-large-200-white-975-galvanized-G8_g1wy-s0.jpg Large Venice Cylinder Gooseneck Light, 200-White, Stacked Slots, G8 Gooseneck Arm, 975-Galvanized 1000 1000 79926
62220 65102 product 0 74453 A 1 D 0 0 sinclair-28in-615-oil-rubbed-bronze-stem-alt.jpg 28" Sinclair Stem Mount, 615-Oil-Rubbed Bronze 1000 1000 74453
67070 65697 product 0 79303 A 1 D 0 0 Loma-basic-full-build-12in-300-dark-green.jpg 12" Loma, 300-Dark Green, SBK-Standard Black Cord 1000 1000 79303
67078 65690 product 0 79311 A 1 D 0 0 seaside-basic-cord-16in-200-white-SWH.jpg 16" Seaside, 200-White, SWH-Standard White Cord 1000 1000 79311
67087 65689 product 0 79320 A 1 D 0 0 seaside-basic-stem-16in-200-white-long-stem.jpg 16" Seaside, 200-White, 18" Stem 1000 1000 79320
67090 65696 product 0 79323 A 1 D 0 0 wilcox-basic-cord-20in-100-black-SBK.jpg 20" Wilcox, 100-Black, SBK-Standard Black Cord 1000 1000 79323
67098 65695 product 0 79331 A 1 D 0 0 wilcox-basic-stem-16in-605-rust-short-stem.jpg 16" Wilcox, 605-Rust, 12" Stem 1000 1000 79331
67666 65716 product 0 79899 A 1 D 0 0 Milan-Gooseneck-4in-380-blush-pink-975-galvanized-G12_sxw0-sj.jpg Small Milan Gooseneck Light, 380-Blush Pink, G12 Gooseneck Arm, 975-Galvanized 1000 1000 79899
67691 65717 product 0 79924 A 1 D 0 0 Venice-Gooseneck-4in-500-buttery-yellow-G32.jpg Small Venice Cylinder Gooseneck Light, 500-Buttery Yellow, Oval Slots, G32 Gooseneck Arm 1000 1000 79924
68769 65103 product 0 81002 A 1 D 0 0 Sinclair-28in-490-magenta-975-galvanized-CSGW-chain-alt.jpg 28" Sinclair Chain Hung, 490-Magenta, CSGW-Gold & White Cloth Cord 1000 1000 81002
62215 65103 product 0 74448 A 2 D 0 0 Sinclair-28-Inch-Chain-Hung-Jadite-Brown-Black-Chevron-Cord-alt.jpg 28" Sinclair Chain Hung, 311-Jadite, CSBB-Black & Brown Cloth Cord 1000 1000 74448
62221 65102 product 0 74454 A 2 D 0 0 sinclair-28in-975-galvanized-stem-alt.jpg 28" Sinclair Stem Mount, 975-Galvanized, Shown with Noma LED Tala Lamp 1000 1000 74454
67069 65697 product 0 79302 A 2 D 0 0 Loma-basic-20in-200-white-SWH.jpg 20" Loma, 200-White, SWH-Standard White Cord 1000 1000 79302
67077 65690 product 0 79310 A 2 D 0 0 seaside-basic-cord-12in-605-rust-SBK.jpg 12" Seaside, 605-Rust, SBK-Standard Black Cord 1000 1000 79310
67085 65689 product 0 79318 A 2 D 0 0 seaside-basic-stem-12in-100-black-long-stem-HSC.jpg 12" Seaside, 100-Black, 18" Stem, Hang Straight Canopy 1000 1000 79318
67089 65696 product 0 79322 A 2 D 0 0 wilcox-basic-cord-16in-605-rust-SBK.jpg 16" Wilcox, 605-Rust, SBK-Standard Black Cord 1000 1000 79322
67099 65695 product 0 79332 A 2 D 0 0 wilcox-basic-stem-20in-100-black-short-stem-HSC.jpg 20" Wilcox, 100-Black, 12" Stem, Hang Straight Canopy 1000 1000 79332
67251 65696 product 0 79484 A 2 C 0 0 Wilcox-cord-Pendant-Light-20in-100-Black-CSBW-residential-interior-farmhouse-kitchen.jpg 20" Wilcox, 100-Black, SBK-Standard Black Cord 1500 2129 79484
67252 65696 product 0 79485 A 2 C 0 0 6-commercial-interior-barber-shop-Wilcox-cord-Pendant_Light_16in_100-Black_SBK-standard-black-cord-on.JPG 16" Wilcox, 100-Black, SBK-Standard Black Cord 1500 1125 79485
67253 65696 product 0 79486 A 2 C 0 0 Commercial-Interior-Dog-Boarding-Kennel-Doggie-Daycare-reception-check-in-front-desk-Wilcox-Cord-200-white.jpg 12" Wilcox, 200-White, SWH-Standard White Cord 1500 2250 79486
67254 65696 product 0 79487 A 2 C 0 0 commercial-interior-barber-shop-wilcox-cord-pendant-black-high-res-barber-chair.jpeg 12" Wilcox, 100-Black, SBK-Standard Black Cord 1500 2000 79487
67259 65689 product 0 79492 A 2 C 0 0 commercial-interior-bar-seaside-stem-pendant-100-black-high-res.jpg 12" Seaside, 100-Black, 12" Stem 1500 2250 79492
67260 65689 product 0 79493 A 2 C 0 0 interior-bar-seaside-stem-pendant-100-black-high-res.jpg 12" Seaside, 100-Black, 12" Stem 1500 2250 79493
67267 65702 product 0 79500 A 2 D 0 0 Barn-Light-Basics-Avalon-14in-200-white-SWH.jpg 14" Avalon, 200-White, SWH-Standard White Cord 1000 1000 79500
67670 65716 product 0 79903 A 2 D 0 0 Milan-Gooseneck-4in-200-white-100-black-G8_2lkh-7c.jpg Small Milan Gooseneck Light, 200-White, G8 Gooseneck Arm, 100-Black 1000 1000 79903
62218 65103 product 0 74451 A 3 D 0 0 Sinclair-28-Inch-Chain-Hung-Black-White-Black-Cord-1910-Era-40W-alt.jpg 28" Sinclair Chain Hung, 100-Black, CSBW-Black & White Cloth Cord, Shown with Nostalgic Edison 1910 Era 40W Bulb 1000 1000 74451
67068 65697 product 0 79301 A 3 D 0 0 Loma-basic-20in-100-black-SBK.jpg 20" Loma, 100-Black, SBK-Standard Black Cord 1000 1000 79301
67132 65702 product 0 79365 A 3 C 0 0 Farm_Barn_Warehouse_Pendant_-_Barn_Light_Electric_-_Mudroom_Pendant_Lighting.jpg 16" Avalon, 100-Black, SBK-Standard Black Cord | Photo Courtesy of Stephanie Peyton (@springofmint) 1500 2000 79365
67249 65695 product 0 79482 A 3 C 0 0 16in-wilcox-stem-led-200-white-commercial-interior-gameroom.jpg 16" Wilcox, 200-White, 18" Stems 1500 1000 79482
67667 65716 product 0 79900 A 3 D 0 0 Milan-Gooseneck-4in-500-buttery-yellow-G32_pdye-ee.jpg Small Milan Gooseneck Light, 500-Buttery Yellow, G32 Gooseneck Arm 1000 1000 79900
67692 65717 product 0 79925 A 3 D 0 0 Venice-Gooseneck-4in-800-industrial-grey-G22.jpg Small Venice Cylinder Gooseneck Light, 800-Industrial Grey, G22 Gooseneck Arm 1000 1000 79925
68775 65102 product 0 81008 A 3 D 0 0 sinclair-28in-995-raw-copper-100-black-stem-alt.jpg 28" Sinclair Stem Mount, 995-Natural Raw Copper, Mounting in 100-Black, Shown with Voronoi I LED Tala Lamp 1000 1000 81008
62217 65103 product 0 74450 A 4 D 0 0 Sinclair-28-Inch-Chain-Hung-Delphite-White-Cord-Oval-LED-Tala-Bulb-alt.jpg 28" Sinclair Chain Hung, 715-Delphite, Mounting in 975-Galvanized, SWH-Standard White Cord 1000 1000 74450
62222 65102 product 0 74455 A 4 D 0 0 sinclair-28in-100-black-stem-alt.jpg 28" Sinclair Stem Mount, 100-Black 1000 1000 74455
67067 65697 product 0 79300 A 4 D 0 0 Loma-basic-16in-200-white-SWH.jpg 16" Loma, 200-White, SWH-Standard White Cord 1000 1000 79300
67133 65702 product 0 79366 A 4 C 0 0 Farm_Barn_Warehouse_Pendant_-_Barn_Light_Electric_-_Mudroom_Lighting.jpg 16" Avalon, 100-Black, SBK-Standard Black Cord | Photo Courtesy of Stephanie Peyton (@springofmint) 1500 2000 79366
67234 65695 product 0 79467 A 4 C 0 0 12in-wilcox-stem-100-black-18-stem-hang-straight_7qpl-01.jpg 12" Wilcox, 100-Black, 18" Stem, Hang Straight Canopy 1500 2000 79467
67672 65716 product 0 79905 A 4 D 0 0 Milan-Gooseneck-5in-390-teal-975-galvanized-G22.jpg Large Milan Gooseneck Light, 390-Teal, Ribbed Glass, G22 Gooseneck Arm, 975-Galvanized 1000 1000 79905
67694 65717 product 0 79927 A 4 D 0 0 Venice-Gooseneck-5in-490-magenta-100-black-G6.jpg Large Venice Cylinder Gooseneck Light, 490-Magenta, Staggered Slots, Ribbed Glass, G6 Gooseneck Arm, 100-Black 1000 1000 79927
67065 65697 product 0 79298 A 5 D 0 0 Loma-basic-12in-100-black-SBK.jpg 12" Loma, 100-Black, SBK-Standard Black Cord 1000 1000 79298
67134 65702 product 0 79367 A 5 C 0 0 Farm_Barn_Warehouse_Pendant_Light_-_Barn_Light_Electric_-_Interior_Mudroom_Lighting.jpg 16" Avalon, 100-Black, SBK-Standard Black Cord | Photo Courtesy of Stephanie Peyton (@springofmint) 1500 2000 79367
67247 65697 product 0 79480 A 5 C 0 0 loma_cord_hung_-commercial-interior-bar-bookstore.jpg 12" Loma, 100-Black, SBK-Standard Black Cord 1500 2250 79480
67250 65695 product 0 79483 A 5 C 0 0 wilcox_stem_mount_20in_black_commercial-interior-restaurant-brewery-bar-stools.jpg 20" Wilcox, 100-Black 1500 1149 79483
67669 65716 product 0 79902 A 5 D 0 0 Milan-Gooseneck-5in-400-barn-red-G15_tkr7-k0.jpg Large Milan Gooseneck Light, 400-Barn Red, G15 Gooseneck Arm 1000 1000 79902
67695 65717 product 0 79928 A 5 D 0 0 Venice-Gooseneck-5in-705-navy-g19.jpg Large Venice Cylinder Gooseneck Light, 705-Navy, G19 Gooseneck Arm 1000 1000 79928
68774 65102 product 0 81007 A 5 D 0 0 sinclair-28in-490-magenta-100-black-stem-alt.jpg 28" Sinclair Stem Mount, 490-Magenta, Mounting in 100-Black 1000 1000 81007
62224 65102 product 0 74457 A 6 D 0 0 sinclair-28in-705-navy-stem-alt.jpg 28" Sinclair Stem Mount, 705-Navy 1000 1000 74457
67135 65702 product 0 79368 A 6 C 0 0 Farm_Barn_Warehouse_Pendant_-_Barn_Light_Electric_-_Farmhouse_Mudroom_Lighting.jpg 16" Avalon, 100-Black, SBK-Standard Black Cord | Photo Courtesy of Stephanie Peyton (@springofmint) 1500 2000 79368
67671 65716 product 0 79904 A 6 D 0 0 Milan-Gooseneck-5in-490-magenta-100-G24.jpg Large Milan Gooseneck Light, 490-Magenta, G24 Gooseneck Arm, 100-Black 1000 1000 79904
67696 65717 product 0 79929 A 6 D 0 0 Venice-Gooseneck-5in-975-galvanized-100-black-G24.jpg Large Venice Cylinder Gooseneck Light, 975-Galvanized, Four Standard Slots, G24 Gooseneck, 100-Black 1000 1000 79929
67764 65716 product 0 79997 A 7 D 0 0 Milan-Gooseneck-5in-705-navy-G19.jpg Large Milan Gooseneck Light, 705-Navy, Ribbed Glass, G19 Gooseneck Arm 1000 1000 79997
67697 65716 product 0 79930 A 8 C 0 0 IMG_2281-commercial-interior-lighting-brewery-Milan-Cylinder-Gooseneck-Large-Cylinder-380-Chartreuse-G13arm-Single-Slot.jpg Large Milan Gooseneck, 380-Chartreuse, G13 Arm, Single Slot | Wiseacre Brewery 3024 4032 79930
67699 65716 product 0 79932 A 9 C 0 0 IMG_2286-commercial-interior-lighting-on-brewery-Milan-Cylinder-Gooseneck-Large-Cylinder-380-Chartreuse-G13arm-Single-Slot.jpg Large Milan Gooseneck, 380-Chartreuse, G13 Arm, Single Slot | Wiseacre Brewery 3009 3660 79932
67701 65716 product 0 79934 A 10 C 0 0 IMG_2288-commercial-interior-lighting-on-brewery-Milan-Cylinder-Gooseneck-Large-Cylinder-380-Chartreuse-G13arm-Single-Slot.jpg Large Milan Gooseneck, 380-Chartreuse, G13 Arm, Single Slot | Wiseacre Brewery 2829 3462 79934