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 (
    65531, 65463, 65701, 65298, 65563, 65698, 
    65461, 65426, 65299, 65521, 65560, 
    65796
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00185

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 (65531,65463,65701,65298,65563,65698,65461,65426,65299,65521,65560,65796)"
        }
      }
    },
    "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
56486 65298 product 0 68719 A 0 D 0 0 avalon-flush-mount-12in-705-navy-CGG-RIB.jpg 12" Avalon, 705-Navy, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 68719
56544 65299 product 0 68777 A 0 D 0 0 aero-flush-mount-12in-997-raw-brass-200-white.jpg 12" Aero, 997-Natural Raw Brass, Mounting in 200-White 1000 1000 68777
59094 65463 product 0 71327 A 0 D 0 0 cherokee-flush-mount-18in-100-black.jpg 18" Cherokee, 100-Black, FST-Frosted Glass 1000 1000 71327
62501 65560 product 0 74734 A 0 D 0 0 Newport-100-black-standard-canopy-stem.jpg Newport Stem Mount Pendant Light, 100-Black, Decorative Hex Cover 1000 1000 74734
62502 65560 product 0 74735 A 0 D 0 0 Newport-307-emerald-green-975-galvanized-hangstraight-canopy-stem.jpg Newport Stem Mount Pendant Light, 307-Emerald Green, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 74735
62503 65560 product 0 74736 A 0 D 0 0 Newport-400-barn-red-standard-canopy-stem.jpg Newport Stem Mount Pendant Light, 400-Barn Red, Decorative Hex Cover 1000 1000 74736
62504 65560 product 0 74737 A 0 D 0 0 Newport-975-galvanized-standard-canopy-100-black-stem.jpg Newport Stem Mount Pendant Light, 975-Galvanized, Mounting in 100-Black 1000 1000 74737
62541 65563 product 0 74774 A 0 D 0 0 Newport-975-galvanized-sbk-standard-black-cord-studio-cable.jpg Newport Studio Light, 975-Galvanized, SBK-Standard Black Cord 1000 1000 74774
62542 65563 product 0 74775 A 0 D 0 0 Newport-490-magenta-sbk-standard-black-cord-975-galvanized-canopy-studio-cable.jpg Newport Studio Light, 490-Magenta, SBK-Standard Black Cord 1000 1000 74775
62543 65563 product 0 74776 A 0 D 0 0 Newport-100-black-CSBG-black-gold-cord-studio-cable.jpg Newport Studio Light, 100-Black, CSBG-Black & Gold Cloth Cord 1000 1000 74776
62544 65563 product 0 74777 A 0 D 0 0 Newport-200-white-swh-standard-white-cord-studio-cable.jpg Newport Studio Light, 200-White, SWH-Standard White Cord 1000 1000 74777
62545 65563 product 0 74778 A 0 D 0 0 Newport-400-barn-red-crz-red-chevron-standard-black-cord-studio-cable.jpg Newport Studio Light, 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 74778
62764 65560 product 0 74997 A 0 C 0 0 Residential-Interior-Kitchen-Farmhouse-Modern-Newport-100-black-stem-hang-straight-canopy.jpg Newport Stem Mount Pendant Light, 100-Black, Hang Straight Canopy 1500 1200 74997
62765 65563 product 0 74998 A 0 C 0 0 Residential-Interior-Living-room-lounge-Newport-300-dark-green-studio-cable-sbk.jpg Newport Studio Light, 300-Dark Green, SBK-Standard Black Cord 1800 1200 74998
63329 65531 product 0 75562 A 0 D 0 0 Schoolhouse-Acorn-Kao-Flush-975-galvanized-PB4-700-royal-blue_9z6f-nq.jpg Kao Acorn Schoolhouse Flush Mount, 975-Galvanized, Opaque Glass, Three Painted Band, 700-Royal Blue 1000 1000 75562
63641 65426 product 0 75874 A 0 D 0 0 esso-flush-mount-10in-400-barn-red.jpg 10" Esso, 400-Barn Red 1000 1000 75874
63852 65521 product 0 76085 A 0 D 0 0 24in_wilcox_gooseneck_490_magenta_g65_975_galvanized.jpg 24" Wilcox, 490-Magenta, G65 Gooseneck Arm, 975-Galvanized 1000 1000 76085
63853 65521 product 0 76086 A 0 D 0 0 24in_wilcox_gooseneck_307_emerald_green_g8_100_black_pmam-vv.jpg 24" Wilcox, 307-Emerald Green, G8 Gooseneck Arm, 100-Black 1000 1000 76086
63854 65521 product 0 76087 A 0 D 0 0 24in_wilcox_gooseneck_100_black_g22_gooseneck_arm_995_raw_copper_emg0-7n.jpg 24" Wilcox, 100-Black, G22 Gooseneck Arm, 995-Natural Raw Copper, Decorative Backing Plate & Hex Cover 1000 1000 76087
67047 65698 product 0 79280 A 0 D 0 0 fire-chief-basic-100-black-G11.jpg 10" Fire Chief, 100-Black, G11 Gooseneck Arm 1000 1000 79280
67048 65698 product 0 79281 A 0 D 0 0 fire-chief-basic-200-white-G1.jpg 10" Fire Chief, 200-White, G1 Straight Arm 1000 1000 79281
67049 65698 product 0 79282 A 0 D 0 0 fire-chief-basic-605-rust-G22.jpg 10" Fire Chief, 605-Rust, G22 Gooseneck Arm 1000 1000 79282
67283 65701 product 0 79516 A 0 D 0 0 Barn-Light-Basics-Avalon-14in-200-white-stem-12in-HSC.jpg 14" Avalon, 200-White, 12" Stem, Hang Straight Canopy 1000 1000 79516
69459 65796 product 0 81692 A 0 D 0 0 Loma-3-light-chain-chandelier-12in-390-teal-996-weathered-copper-black-cord.jpg Loma 3-Light Chain Hung Chandelier, 12" Shades, 390-Teal, Interior in 996-Natural Weathered Copper, Mounting in 390-Teal, SBK-Standard Black Cord 1000 1000 81692
56548 65299 product 0 68781 A 1 D 0 0 aero-flush-mount-16in-200-white-TGG-100-Black-FST.jpg 16" Aero, 200-White, TGG-Heavy Duty Cast Guard, 100-Black, FST-Frosted Glass, Mounting in 100-Black 1000 1000 68781
59090 65463 product 0 71323 A 1 D 0 0 cherokee-flush-mount-12in-715-delphite-blue.jpg 12" Cherokee, 715-Delphite, FST-Frosted Glass 1000 1000 71323
59105 65461 product 0 71338 A 1 D 0 0 chestnut-flush-mount-16in-300-dark-green-WC.jpg 16" Chestnut, 300-Dark Green, Wire Cage, 975-Galvanized 1000 1000 71338
63330 65531 product 0 75563 A 1 D 0 0 Schoolhouse-Acorn-Kao-Flush-311-Jadite-PB5.jpg Kao Acorn Schoolhouse Flush Mount, 311-Jadite, Opaque Glass, Three Painted Band 1000 1000 75563
63587 65298 product 0 75820 A 1 D 0 0 avalon-flush-mount-16in-400-barn-red-975-galvanized-WC.jpg 16" Avalon, 400-Barn Red, Wire Cage, 975-Galvanized, Mounting in 975-Galvanized 1000 1000 75820
63639 65426 product 0 75872 A 1 D 0 0 esso-flush-mount-8in-998-weathered-brass-100-black.jpg 8" Esso, 998-Natural Weathered Brass, Mounting in 100-Black 1000 1000 75872
67281 65701 product 0 79514 A 1 D 0 0 Barn-Light-Basics-Avalon-12in-605-Rust-12in-stem.jpg 12" Avalon, 605-Rust, 12" Stem 1000 1000 79514
69462 65796 product 0 81695 A 1 D 0 0 Loma-3-light-chain-chandelier-16in-200-white-300-dark-green-white-cord.jpg Loma 3-Light Chain Hung Chandelier, 16" Shades, 200-White, Mounting in 300-Dark Green, SWH-Standard White Cord 1000 1000 81695
56485 65298 product 0 68718 A 2 D 0 0 avalon-flush-mount-8in-480-bluch-pink.jpg 8" Avalon, 480-Blush Pink 1000 1000 68718
56547 65299 product 0 68780 A 2 D 0 0 aero-flush-mount-14in-705-navy.jpg 14" Aero, 705-Navy 1000 1000 68780
59101 65461 product 0 71334 A 2 D 0 0 chestnut-flush-mount-8in-400-barn-red.jpg 8" Chestnut, 400-Barn Red 1000 1000 71334
63332 65531 product 0 75565 A 2 D 0 0 Schoolhouse-Acorn-Kao-Flush-400-Barn-red-PB6.jpg Kao Acorn Schoolhouse Flush Mount, 400-Barn Red, Opaque Glass, Five Painted Band 1000 1000 75565
63638 65426 product 0 75871 A 2 D 0 0 esso-flush-mount-8in-100-black.jpg 8" Esso, 100-Black 1000 1000 75871
64496 65463 product 0 76729 A 2 D 0 0 cherokee-flush-mount-14in-400-barn-red_ks99-fc.jpg 14" Cherokee, 400-Barn Red, FST-Frosted Glass 1000 1000 76729
67282 65701 product 0 79515 A 2 D 0 0 Barn-Light-Basics-Avalon-16in--100-black-stem-12in-HSC.jpg 16" Avalon, 100-Black, 12" Stem, Hang Straight Canopy 1000 1000 79515
68586 65701 product 0 80819 A 2 C 0 0 IMG_4766-residential-interior-lighting-barn-light-basics-dining-Avalon-Stem-Mount-Pendant-12in-200-White-12in-stem.jpg 12" Avalon, 200-White, 12" Stem | Photo Courtesy of Customer 2000 3178 80819
68587 65701 product 0 80820 A 2 C 0 0 IMG_4768-residential-interior-lighting-barn-light-basics-dining-Avalon-Stem-Mount-Pendant-12in-200-White-12in-stem.jpg 12" Avalon, 200-White, 12" Stem | Photo Courtesy of Customer 1500 2159 80820
68588 65701 product 0 80821 A 2 C 0 0 IMG_4767-residential-interior-lighting-barn-light-basics-dining-Avalon-Stem-Mount-Pendant-12in-200-White-12in-stem.jpg 12" Avalon, 200-White, 12" Stem | Photo Courtesy of Customer 2000 2903 80821
68589 65701 product 0 80822 A 2 C 0 0 IMG_4764-residential-interior-lighting-barn-light-basics-dining-Avalon-Stem-Mount-Pendant-12in-200-White-12in-stem.jpg 12" Avalon, 200-White, 12" Stem | Photo Courtesy of Customer 2000 2436 80822
69460 65796 product 0 81693 A 2 D 0 0 Loma-3-light-chain-chandelier-12in-400-barn-red-975-galvanized-white-cord.jpg Loma 3-Light Chain Hung Chandelier, 12" Shades, 400-Barn Red, Mounting in 975-Galvanized, SWH-Standard White Cord 1000 1000 81693
56490 65298 product 0 68723 A 3 D 0 0 avalon-flush-mount-14in-100-black.jpg 14" Avalon, 100-Black 1000 1000 68723
59079 65299 product 0 71312 A 3 D 0 0 aero-flush-mount-16in-975-galvanized.jpg 16" Aero, 975-Galvanized 1000 1000 71312
59093 65463 product 0 71326 A 3 D 0 0 cherokee-flush-mount-18in-705-navy.jpg 18" Cherokee, 705-Navy, FST-Frosted Glass 1000 1000 71326
63331 65531 product 0 75564 A 3 D 0 0 Schoolhouse-Acorn-Kao-Flush-200-white-PB6-390-teal.jpg Kao Acorn Schoolhouse Flush Mount, 200-White, Clear Glass, Five Painted Band, 390-Teal 1000 1000 75564
63642 65426 product 0 75875 A 3 D 0 0 esso-flush-mount-10in-975-galvanized.jpg 10" Esso, 975-Galvanized 1000 1000 75875
64775 65461 product 0 77008 A 3 D 0 0 chestnut-flush-mount-16in-975-galvanized.jpg 16" Chestnut, 975-Galvanized 1000 1000 77008
69461 65796 product 0 81694 A 3 D 0 0 Loma-3-light-chain-chandelier-16in-100-black-995-raw-copper-SBK-standard-black-cord.jpg Loma 3-Light Chain Hung Chandelier, 16" Shades, 100-Black, Interior in 995-Natural Raw Copper, SBK-Standard Black Cord 1000 1000 81694
56488 65298 product 0 68721 A 4 D 0 0 avalon-flush-mount-12in-997-raw-brass-975-galvanized-WCC-FST.jpg 12" Avalon, 997-Natural Raw Brass, WGG-Wire Guard, 975-Galvanized, FST-Frosted Glass, Mounting in 975-Galvanized 1000 1000 68721
56546 65299 product 0 68779 A 4 D 0 0 aero-flush-mount-14in-300-dark-green-WC-975-galvanized.jpg 14" Aero, 300-Dark Green, Wire Cage, 975-Galvanized 1000 1000 68779
59091 65463 product 0 71324 A 4 D 0 0 cherokee-flush-mount-12in-500-buttery-yellow.jpg 12" Cherokee, 500-Buttery Yellow, FST-Frosted Glass 1000 1000 71324
63333 65531 product 0 75566 A 4 D 0 0 Schoolhouse-Acorn-Kao-Flush-615-Oil-Rubbed-Bronze-PB5-100-black.jpg Kao Acorn Schoolhouse Flush Mount, 615-Oil-Rubbed Bronze, Clear Glass, Three Painted Band, 100-Black 1000 1000 75566
63644 65426 product 0 75877 A 4 D 0 0 esso-flush-mount-10in-999-oil-rubbed-copper-100-black.jpg 10" Esso, 999-Natural Oil-Rubbed Copper, Mounting in 100-Black 1000 1000 75877
69463 65796 product 0 81696 A 4 D 0 0 Loma-3-light-chain-chandelier-16in-500-buttery-yellow-white-cord.jpg Loma 3-Light Chain Hung Chandelier, 16" Shades, 500-Buttery Yellow, SWH-Standard White Cord 1000 1000 81696
56487 65298 product 0 68720 A 5 D 0 0 avalon-flush-mount-10in-300-dark-green.jpg 10" Avalon, 300-Dark Green 1000 1000 68720
59078 65299 product 0 71311 A 5 D 0 0 aero-flush-mount-14in-500-buttery-yellow.jpg 14" Aero, 500-Buttery Yellow 1000 1000 71311
59092 65463 product 0 71325 A 5 D 0 0 cherokee-flush-mount-14in-307-emerald-green.jpg 14" Cherokee, 307-Emerald Green 1000 1000 71325
59103 65461 product 0 71336 A 5 D 0 0 chestnut-flush-mount-12in-200-white-100-black.jpg 12" Chestnut, 200-White, Mounting in 100-Black 1000 1000 71336
63334 65531 product 0 75567 A 5 D 0 0 Schoolhouse-Acorn-Kao-Flush-705-navy.jpg Kao Acorn Schoolhouse Flush Mount, 705-Navy, Opaque Glass 1000 1000 75567
63640 65426 product 0 75873 A 5 D 0 0 esso-flush-mount-10in-200-white.jpg 10" Esso, 200-White 1000 1000 75873
69464 65796 product 0 81697 A 5 D 0 0 Loma-3-light-chain-chandelier-16in-975-galvanized-307-emerald-green-black-cord.jpg Loma 3-Light Chain Hung Chandelier, 16" Shades, 975-Galvanized, Interior in 307-Emerald Green, Mounting in 975-Galvanized, SBK-Standard Black Cord 1000 1000 81697
59077 65299 product 0 71310 A 6 D 0 0 aero-flush-mount-12in-400-barn-red.jpg 12" Aero, 400-Barn Red 1000 1000 71310
59089 65463 product 0 71322 A 6 D 0 0 cherokee-flush-mount-12in-200-white.jpg 12" Cherokee, 200-White, FST-Frosted Glass 1000 1000 71322
63335 65531 product 0 75568 A 6 D 0 0 Schoolhouse-Acorn-Kao-Flush-715-Delphite-PB4.jpg Kao Acorn Schoolhouse Flush Mount, 715-Delphite, Clear Glass, Three Painted Band 1000 1000 75568
63352 65531 product 0 75585 A 6 C 0 0 Residential-Interior-Kitchen-Sink-White-Tile-Kao-Schoolhouse-Flush-Acorn-615-oil-rubbed-bronze-clear-glass-3-painted-band-black-creatv-eight-z3QZ6gjGRt4-unsplash.jpg Kao Acorn Schoolhouse Flush Mount, 615-Oil-Rubbed Bronze, Clear Glass, Three Painted Band, 100-Black 1500 1973 75585
63585 65298 product 0 75818 A 6 D 0 0 avalon-flush-mount-14in-999-oil-rubbed-copper-CGG-100-Black-CLR_dsn3-rs.jpg 14" Avalon, 999-Oil-Rubbed Copper, CGG-Standard Cast Guard, 100-Black, CLR-Clear Glass 1000 1000 75818
63643 65426 product 0 75876 A 6 D 0 0 esso-flush-mount-10in-997-raw-brass-200-white.jpg 10" Esso, 997-Natural Raw Brass, Mounting in 200-White 1000 1000 75876
64774 65461 product 0 77007 A 6 D 0 0 chestnut-flush-mount-16in-311-jadite.jpg 16" Chestnut, 311-Jadite 1000 1000 77007
69465 65796 product 0 81698 A 6 D 0 0 Loma-3-light-chain-chandelier-16in-999-oil-rubbed-copper-100-black-SBK-cord.jpg Loma 3-Light Chain Hung Chandelier, 999-Natural Oil-Rubbed Copper, Mounting in 100-Black, SBK-Standard Black Cord 1000 1000 81698
56525 65298 product 0 68758 A 7 D 0 0 avalon-flush-mount-14in-200-white.jpg 14" Avalon, 200-White 1000 1000 68758
63586 65298 product 0 75819 A 8 D 0 0 avalon-flush-mount-16in-307-emerald-green-TGG-975-galvanized-RIB.jpg 16" Avalon, 307-Emerald Green, TGG-Heavy Duty Cast Guard, 975-Galvanized, RIB-Ribbed Glass, Mounting in 975-Galvanized 1000 1000 75819
65595 65298 product 0 77828 A 8 C 0 0 kelly_five.jpg 14" Avalon, 250-Porcelain White, Flush Mount | Photo Courtesy of Kelly Hurliman 890 1155 77828