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 (
    65535, 65674, 65465, 65418, 65536, 65423, 
    65455, 65700, 65453, 65625, 64815, 
    65691
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00105

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": 60,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65535,65674,65465,65418,65536,65423,65455,65700,65453,65625,64815,65691)"
        }
      }
    },
    "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
59145 65423 product 0 71378 A 0 D 0 0 sterling-flush-mount-14in-765-delphite-100-black.jpg 14" Sterling, 765-Porcelain Delphite, Mounting in 150-Black 1000 1000 71378
59156 65418 product 0 71389 A 0 D 0 0 union-flush-mount-12in-765-delphite-CGG-FST.jpg 12" Union, 765-Porcelain Delphite, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 71389
64082 65455 product 0 76315 A 0 D 0 0 canal-flush-mount-390-teal-975-galvanized.jpg Canal Flush Mount, 390-Teal, Mounting in 975-Galvanized 1000 1000 76315
64553 65535 product 0 76786 A 0 D 0 0 schoolhouse-drum-kao-cord-311-jadite-7-stripes-250-white-CSW.jpg Kao Drum Schoolhouse Pendant, 311-Jadite, Opaque Glass, Seven Painted Band, CSW-White Cloth Cord, Canopy in 200-White 1000 1000 76786
64555 65536 product 0 76788 A 0 D 0 0 schoolhouse-round-kao-cord-106-textured-black-4-stripe-CSBG.jpg Kao Round Schoolhouse Pendant, 105-Textured Black, Clear Glass, Four Painted Band, CSBG-Black & Gold Cloth Cord, Shown with 1890 Era Edison Style Bulb 1000 1000 76788
64666 65453 product 0 76899 A 0 D 0 0 tuscany-flush-mount-500-butter-yellow-975-galvanized.jpg Tuscany Flush Mount, 500-Buttery Yellow, Mounting in 975-Galvanized 1000 1000 76899
66362 65674 product 0 78595 A 0 D 0 0 elliptical-stem-11in-300-dark-green.jpg 11" Elliptical, 300-Dark Green, Heavy Duty Stem Mount Canopy 1000 1000 78595
66953 65465 product 0 79186 A 0 D 0 0 chicago-flush-mount-12in-975-galvanized-CGG-FST.jpg 12" Chicago, 975-Galvanized, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 79186
67057 65691 product 0 79290 A 0 D 0 0 Aero-basic-gooseneck-12in-300-dark-green-G1.jpg 12" Aero, 300-Dark Green, G1 Straight Arm 1000 1000 79290
67273 65700 product 0 79506 A 0 D 0 0 Barn-Light-Basics-Avalon-16in-100-black-G1.jpg 16" Avalon, 100-Black, G1 Straight Arm 1000 1000 79506
59143 65423 product 0 71376 A 1 D 0 0 sterling-flush-mount-12in-400-barn-red-WGG-RIB.jpg 12" Sterling, 400-Barn Red, WGG-Wire Guard, RIB-Ribbed Glass 1000 1000 71376
59148 65453 product 0 71381 A 1 D 0 0 tuscany-flush-mount-100-black.jpg Tuscany Flush Mount, 100-Black 1000 1000 71381
59153 65418 product 0 71386 A 1 D 0 0 union-flush-mount-12in-805-charcoal-granite-975-galvanized.jpg 12" Union, 805-Charcoal Granite, Mounting in 975-Galvanized 1000 1000 71386
64083 65455 product 0 76316 A 1 D 0 0 canal-flush-mount-400-barn-red.jpg Canal Flush Mount, 400-Barn Red 1000 1000 76316
66369 65674 product 0 78602 A 1 D 0 0 elliptical-stem-15in-975-galvanized-swivel.jpg 15" Elliptical, 975-Galvanized, Swivel Knuckle 1000 1000 78602
66955 65465 product 0 79188 A 1 D 0 0 chicago-flush-mount-16in-400-barn-red-CGG-FST.jpg 16" Chicago, 400-Barn Red, CGG-Standard Cast Guard, FST-Frosted Glass 1000 1000 79188
67058 65691 product 0 79291 A 1 D 0 0 Aero-basic-gooseneck-16in-200-white-G22.jpg 16" Aero, 200-White, G22 Gooseneck Arm 1000 1000 79291
67274 65700 product 0 79507 A 1 D 0 0 Barn-Light-Basics-Avalon-12in-605-rust-G11.jpg 12" Avalon, 605-Rust, G11 Gooseneck Arm 1000 1000 79507
59159 65418 product 0 71392 A 2 D 0 0 union-flush-mount-16in-400-red-975-galvanized-WC.jpg 16" Union, 400-Barn Red, Wire Cage, 975-Galvanized, Mounting in 975-Galvanized 1000 1000 71392
64081 65455 product 0 76314 A 2 D 0 0 canal-flush-mount-307-emerald.jpg Canal Flush Mount, 307-Emerald Green 1000 1000 76314
64432 65423 product 0 76665 A 2 D 0 0 sterling-flush-mount-16in-355-jadite.jpg 16" Sterling, 355-Porcelain Jadite 1000 1000 76665
64668 65453 product 0 76901 A 2 D 0 0 tuscany-flush-mount-790-lavender.jpg Tuscany Flush Mount, 790-Lavender 1000 1000 76901
66363 65674 product 0 78596 A 2 D 0 0 elliptical-stem-11in-490-magenta-975-galvanized-HSC.jpg 11" Elliptical, 490-Magenta, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 78596
66959 65465 product 0 79192 A 2 D 0 0 chicago-flush-mount-20in-390-teal-975-galvanized-CGG-FST.jpg 20" Chicago, 390-Teal, Mounting in 975-Galvanized, CGG-Standard Cast Guard, 975-Galvanized, FST-Frosted Glass 1000 1000 79192
67059 65691 product 0 79292 A 2 D 0 0 Aero-basic-gooseneck-12in-100-black-G11.jpg 12" Aero, 100-Black, G11 Gooseneck Arm 1000 1000 79292
67275 65700 product 0 79508 A 2 D 0 0 Barn-Light-Basics-Avalon-16in-300-Dark-Green-G22.jpg 16" Avalon, 300-Dark Green, G22 Gooseneck Arm 1000 1000 79508
59142 65423 product 0 71375 A 3 D 0 0 sterling-flush-mount-12in-100-black.jpg 12" Sterling, 100-Black 1000 1000 71375
59150 65453 product 0 71383 A 3 D 0 0 tuscany-flush-mount-307-emerald.jpg Tuscany Flush Mount, 307-Emerald Green 1000 1000 71383
59154 65418 product 0 71387 A 3 D 0 0 union-flush-mount-14in-307-emerald.jpg 14" Union, 307-Emerald Green 1000 1000 71387
64080 65455 product 0 76313 A 3 D 0 0 canal-flush-mount-100-black.jpg Canal Flush Mount, 100-Black 1000 1000 76313
66365 65674 product 0 78598 A 3 D 0 0 elliptical-stem-13in-500-buttery-yellow.jpg 13" Elliptical, 500-Buttery Yellow 1000 1000 78598
66954 65465 product 0 79187 A 3 D 0 0 chicago-flush-mount-14in-500-buttery-yellow-200-white-CGG-RIB.jpg 14" Chicago, 500-Buttery Yellow, Mounting in 200-White, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 79187
67122 65700 product 0 79355 A 3 C 0 0 All_Weather_Gooseneck_Light_-_100_Black_Barn_Light_Electric_-_Bathroom_Lighting.jpg 12” Avalon, 100-Black, G16-Gooseneck Arm | Photo Courtesy of Lindsey Herod Interiors and Michael Hunter Photography 1500 2163 79355
59144 65423 product 0 71377 A 4 D 0 0 sterling-flush-mount-14in-200-white.jpg 14" Sterling, 200-White 1000 1000 71377
59158 65418 product 0 71391 A 4 D 0 0 union-flush-mount-16in-200-white-WGG-FST.jpg 16" Union, 200-White, WGG-Wire Guard, FST-Frosted Glass 1000 1000 71391
64086 65455 product 0 76319 A 4 D 0 0 canal-flush-mount-975-galvanized.jpg Canal Flush Mount, 975-Galvanized 1000 1000 76319
64667 65453 product 0 76900 A 4 D 0 0 tuscany-flush-mount-715-delphite.jpg Tuscany Flush Mount, 715-Delphite Blue 1000 1000 76900
66367 65674 product 0 78600 A 4 D 0 0 elliptical-stem-15in-400-barn-red-100-black.jpg 15" Elliptical, 400-Barn Red, Mounting in 100-Black 1000 1000 78600
66958 65465 product 0 79191 A 4 D 0 0 chicago-flush-mount-20in-100-black-TGG-RIB.jpg 20" Chicago, 100-Black, TGG-Heavy Duty Cast Guard, RIB-Ribbed Glass 1000 1000 79191
68551 65700 product 0 80784 A 4 C 0 0 image003-commercial-interior-lighting-break-room-Barn-Light-Basics-kitchen-Avalon-Gooseneck-14in-100-Black-G22arm.jpg 14" Avalon, 100-Black, G22 Gooseneck Arm | Photo Courtesy of Customer 1982 1512 80784
59146 65423 product 0 71379 A 5 D 0 0 sterling-flush-mount-16in-308-emerald-green-975-galvanized-WC.jpg 16" Sterling, 307-Emerald Green, Wire Cage, 975-Galvanized, Mounting in 975-Galvanized 1000 1000 71379
59155 65418 product 0 71388 A 5 D 0 0 union-flush-mount-14in-100-black.jpg 14" Union, 100-Black 1000 1000 71388
64084 65455 product 0 76317 A 5 D 0 0 canal-flush-mount-490-magenta-100-black.jpg Canal Flush Mount, 490-Magenta, Mounting in 100-Black 1000 1000 76317
64665 65453 product 0 76898 A 5 D 0 0 tuscany-flush-mount-400-barn-red.jpg Tuscany Flush Mount, 400-Barn Red 1000 1000 76898
66364 65674 product 0 78597 A 5 D 0 0 elliptical-stem-13in-390-teal-200-white.jpg 13" Elliptical, 390-Teal, Mounting in 200-White 1000 1000 78597
66956 65465 product 0 79189 A 5 D 0 0 chicago-flush-mount-16in-700-royal-blue-200-white-CGG-RIB.jpg 16" Chicago, 700-Royal Blue, Mounting in 200-White, CGG-Standard Cast Guard, 200-White, RIB-Ribbed Glass 1000 1000 79189
68553 65700 product 0 80786 A 5 C 0 0 image005-commercial-interior-lighting-break-room-Barn-Light-Basics-kitchen-Avalon-Gooseneck-14in-100-Black-G22arm.jpg 14" Avalon, 100-Black, G22 Gooseneck Arm | Photo Courtesy of Customer 2016 1512 80786
59149 65453 product 0 71382 A 6 D 0 0 tuscany-flush-mount-200-white.jpg Tuscany Flush Mount, 200-White 1000 1000 71382
59152 65418 product 0 71385 A 6 D 0 0 union-flush-mount-10in-700-royal.jpg 10" Union, 700-Royal Blue 1000 1000 71385
64085 65455 product 0 76318 A 6 D 0 0 canal-flush-mount-705-navy.jpg Canal Flush Mount, 705-Navy 1000 1000 76318
64433 65423 product 0 76666 A 6 D 0 0 sterling-flush-mount-16in-480-blush-pink-200-white.jpg 16" Sterling, 480-Blush Pink, Mounting in 200-White 1000 1000 76666
66366 65674 product 0 78599 A 6 D 0 0 elliptical-stem-15in-100-black.jpg 15" Elliptical, 100-Black 1000 1000 78599
66957 65465 product 0 79190 A 6 D 0 0 chicago-flush-mount-18in-350-vintage-green-100-black-WGG-RIB.jpg 18" Chicago, 350-Porcelain Vintage Green, WGG-Wire Guard, 150-Black, RIB-Ribbed Glass 1000 1000 79190
67109 65455 product 0 79342 A 6 C 0 0 image6-residential-interior-lighting-stairway-Canal-Flush-Mount-570-Sunflower-980-Brushed-Aluminum.jpeg Canal Flush Mount, 570-Sunflower, 980-Brushed Aluminum | Customer Submission 2368 2856 79342
68121 65674 product 0 80354 A 6 C 0 0 elliptical-stem-swivel-knuckle-200-white.jpg 11" Elliptical, 200-White, Swivel Knuckle 1500 2000 80354
68552 65700 product 0 80785 A 6 C 0 0 image004-commercial-interior-lighting-break-room-Barn-Light-Basics-kitchen-Avalon-Gooseneck-14in-100-Black-G22arm.jpg 14" Avalon, 100-Black, G22 Gooseneck Arm | Photo Courtesy of Customer 1966 1298 80785
68599 65700 product 0 80832 A 6 C 0 0 IMG_0418-residential-exterior-lighting-on-garage-Avalon-Gooseneck-12in-100-Black-G22arm.jpg 12" Avalon, 100-Black, G22 Gooseneck Arm | Photo Courtesy of Customer 1500 829 80832
59157 65418 product 0 71390 A 7 D 0 0 union-flush-mount-14in-705-navy.jpg 14" Union, 705-Navy 1000 1000 71390