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 (
    63087, 63103, 63099, 63084, 63096, 63100
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00125

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": 63,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (63087,63103,63099,63084,63096,63100)"
        }
      }
    },
    "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
24258 63084 product 0 36237 A 0 D 0 0 colby-cord-480-blush-pink-CSBP.jpg Colby Pendant, 480-Blush Pink, CSBP-Black & Pink Cloth Cord 1000 1000 36237
24265 63087 product 0 36244 A 0 D 0 0 Colby-sconce-100-black.jpg Colby Wall Sconce, 100-Black 1000 1000 36244
24278 63096 product 0 36257 A 0 D 0 0 cooper-cord-975-galvanized-TBW.jpg Cooper Pendant, 975-Galvanized, TBW-Black & White Cotton Twist Cord 1000 1000 36257
24285 63099 product 0 36264 A 0 D 0 0 Cooper-Sconce-975-galvanized.jpg Cooper Wall Sconce, 975-Galvanized 1000 1000 36264
24287 63100 product 0 36266 A 0 D 0 0 cooper-cord-390-teal-CMG.jpg Cooper LED Pendant, 390-Teal, CMG-Grey Cloth Cord 1000 1000 36266
64599 63103 product 0 76832 A 0 D 0 0 Cooper-Sconce-975-galvanized.jpg Cooper LED Wall Sconce, 975-Galvanized 1000 1000 76832
64601 63087 product 0 76834 A 0 D 0 0 Colby-sconce-715-delphite_es33-ht.jpg nColby Wall Sconce, 715-Delphite 1000 1000 76834
64592 63096 product 0 76825 A 1 D 0 0 cooper-cord-full-build-100-black-CSGB.jpg Cooper Pendant, 100-Black, CSBG-Black & Gold Cloth Cord 1000 1000 76825
64594 63100 product 0 76827 A 1 D 0 0 cooper-cord-full-build-LED-100-black-CSGB.jpg Cooper LED Pendant, 100-Black, CSBG-Black & Gold Cloth Cord 4912 4912 76827
64596 63099 product 0 76829 A 1 D 0 0 Cooper-Sconce-700-royal-blue.jpg Cooper Wall Sconce, 700-Royal Blue 1000 1000 76829
64598 63103 product 0 76831 A 1 D 0 0 Cooper-Sconce-470-watermelon.jpg Cooper LED Wall Sconce, 470-Watermelon 1000 1000 76831
64600 63084 product 0 76833 A 1 D 0 0 colby-cord-full-build-100-black-CSB.jpg Colby Pendant, 100-Black, CSB-Black Cloth Cord 1000 1000 76833
64605 63087 product 0 76838 A 1 D 0 0 Colby-sconce-975-galvanized.jpg Colby Wall Sconce, 975-Galvanized 1000 1000 76838
24268 63084 product 0 36247 A 2 D 0 0 colby-cord-975-galvanized-CSBG.jpg Colby Pendant, 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 36247
24282 63099 product 0 36261 A 2 D 0 0 Cooper-Sconce-100-black.jpg Cooper Wall Sconce, 100-Black 1000 1000 36261
24295 63103 product 0 36274 A 2 D 0 0 Cooper-Sconce-300-dark-green_au7n-re.jpg Cooper LED Wall Sconce, 300-Dark Green 1000 1000 36274
24303 63087 product 0 36282 A 2 D 0 0 Colby-sconce-200-white.jpg Colby Wall Sconce, 200-White 1000 1000 36282
29919 63096 product 0 42142 A 2 D 0 0 cooper-cord-400-barn-red-CRZ.jpg Cooper Pendant, 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 42142
24293 63103 product 0 36272 A 3 D 0 0 Cooper-Sconce-200-white.jpg Cooper LED Wall Sconce, 200-White 1000 1000 36272
24308 63096 product 0 36287 A 3 D 0 0 cooper-cord-997-raw-brass-CSGW.jpg Cooper Pendant, 997-Natural Raw Brass, CSGW-Gold & White Cloth Cord 1000 1000 36287
29912 63084 product 0 42135 A 3 D 0 0 colby-cord-705-navy-CRD.jpg Colby Pendant, 705-Navy, CSR-Red Cloth Cord 1000 1000 42135
30048 63100 product 0 42271 A 3 D 0 0 cooper-cord-700-royal-blue-CSUW.jpg Cooper LED Pendant, 700-Royal Blue, CSUW-Blue & White Cloth Cord 1000 1000 42271
64595 63099 product 0 76828 A 3 D 0 0 Cooper-Sconce-400-barn-red.jpg Cooper Wall Sconce, 400-Barn Red 1000 1000 76828
64602 63087 product 0 76835 A 3 D 0 0 Colby-sconce-480-blush-pink.jpg Colby Wall Sconce, 480-Blush Pink 1000 1000 76835
24267 63084 product 0 36246 A 4 D 0 0 colby-cord-715-delphite-CSBW.jpg Colby Pendant, 715-Delphite, CSBW-Black & White Cloth Cord 1000 1000 36246
24279 63096 product 0 36258 A 4 D 0 0 cooper-cord-700-royal-blue-CSUW.jpg Cooper Pendant, 700-Royal Blue, CSUW-Blue & White Cloth Cord 1000 1000 36258
24283 63099 product 0 36262 A 4 D 0 0 Cooper-Sconce-300-dark-green.jpg Cooper Wall Sconce, 300-Dark Green 1000 1000 36262
24289 63100 product 0 36268 A 4 D 0 0 cooper-cord-400-barn-red-CRZ.jpg Cooper LED Pendant, 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 36268
24292 63103 product 0 36271 A 4 D 0 0 Cooper-Sconce-100-black_s2bt-eo.jpg Cooper LED Wall Sconce, 100-Black 1000 1000 36271
64603 63087 product 0 76836 A 4 D 0 0 Colby-sconce-705-navy.jpg Colby Wall Sconce, 705-Navy 1000 1000 76836
24277 63096 product 0 36256 A 5 D 0 0 cooper-cord-200-white-TWH.jpg Cooper Pendant, 200-White, TWH-White Cotton Twist Cord 1000 1000 36256
24288 63100 product 0 36267 A 5 D 0 0 cooper-cord-200-white-TWH_bkqj-24.jpg Cooper LED Pendant, 200-White, TWH-White Cotton Twist Cord 1000 1000 36267
29913 63084 product 0 42136 A 5 D 0 0 colby-cord-300-dark-green-TWP.jpg Colby Pendant, 300-Dark Green, TPT-Putty Cotton Twist Cord 1000 1000 42136
59055 63099 product 0 71288 A 5 D 0 0 Cooper-Sconce-200-white.jpg Cooper Wall Sconce, 200-White 1000 1000 71288
64597 63103 product 0 76830 A 5 D 0 0 Cooper-Sconce-400-barn-red_gilp-yc.jpg Cooper LED Wall Sconce, 400-Barn Red 1000 1000 76830
64604 63087 product 0 76837 A 5 D 0 0 Colby-sconce-800-industrial-grey.jpg Colby Wall Sconce, 800-Industrial Grey 1000 1000 76837
24286 63099 product 0 36265 A 6 D 0 0 Cooper-Sconce-390-teal.jpg Cooper Wall Sconce, 390-Teal 1000 1000 36265
24296 63103 product 0 36275 A 6 D 0 0 Cooper-Sconce-390-teal_60mf-93.jpg Cooper LED Wall Sconce, 390-Teal 1000 1000 36275
24310 63084 product 0 36289 A 6 D 0 0 colby-cord-200-white-TWH.jpg Colby Pendant, 200-White, TWH-White Cotton Twist Cord 1000 1000 36289
29918 63096 product 0 42141 A 6 D 0 0 cooper-cord-300-dark-green-CSBB.jpg Cooper Pendant, 300-Dark Green, CSBB-Black & Brown Cloth Cord 1000 1000 42141
30049 63100 product 0 42272 A 6 D 0 0 cooper-cord-300-dark-green-CSBB_va6c-55.jpg Cooper LED Pendant, 300-Dark Green, CSBB-Black & Brown Cloth Cord 1000 1000 42272
65369 63100 product 0 77602 A 6 C 0 0 image4-residential-interior-lighting-Cooper-LED-Pendant-105-Textured-Black-Red-Chevron-Cord-Flat-Lens.jpeg Cooper LED Pendant, 105-Textured Black, Red Chevron Cord, Flat Lens | Photo Courtesy of Homeowner 1471 1961 77602
65370 63100 product 0 77603 A 6 C 0 0 image5-residential-interior-lighting-Cooper-LED-Pendant-105-Textured-Black-Red-Chevron-Cord-Flat-Lens.jpeg Cooper LED Pendant, 105-Textured Black, Red Chevron Cord, Flat Lens | Photo Courtesy of Homeowner 1512 2016 77603
32487 63099 product 0 44720 A 7 C 0 0 cooper_wall_sconce_txtrd_blk.JPG (2) Cooper Sconces, 105-Textured Black | Photo Courtesy of Wolf and Wing Interior Design 1402 1478 44720
32499 63103 product 0 44732 A 7 C 0 0 cooper_led_wall_sconce_black_850lumens.png Cooper LED Sconce, 100-Black | Courtesy of Louise Middleton 1280 838 44732
64109 63096 product 0 76342 A 7 C 0 0 IMG_9704-residential-interior-bathroom-Cooper_-Pendant-Light-700-Royal-Blue-Red-Chevron.JPG Cooper Pendant, 700-Royal Blue, Red Chevron Cord | Photo Courtesy of Home Owner 3369 5053 76342
67531 63087 product 0 79764 A 7 C 0 0 imagejpeg_0__2_-residential-exterior-lighting-doorway-Colby-Wall-Sconce-311-Jadite-Wire-Guard-Clear-Glass-100-Black.JPG Colby Wall Sconce, 311-Jadite, Wire Guard, 100-Black, Clear Class | Customer Submission 768 1024 79764
32488 63099 product 0 44721 A 8 C 0 0 cooper_wall_sconce_txtrd_blk3.jpg (2) Cooper Sconces, 105-Textured Black | Photo Courtesy of Wolf and Wing Interior Design 1512 1512 44721
32500 63103 product 0 44733 A 8 C 0 0 cooper_led_wall_sconce_black_850lumens2.png Cooper LED Sconce, 100-Black | Courtesy of Louise Middleton 1280 806 44733
64110 63096 product 0 76343 A 8 C 0 0 IMG_9702-residential-interior-bathroom-Cooper_-Pendant-Light-700-Royal-Blue-Red-Chevron.JPG Cooper Pendant, 700-Royal Blue, Red Chevron Cord | Photo Courtesy of Home Owner 3434 4869 76343
67532 63087 product 0 79765 A 8 C 0 0 IMG_2934-residential-exterior-lighting-doorway-Colby-Wall-Sconce-311-Jadite-Wire-Guard-Clear-Glass-100-Black.JPG Colby Wall Sconce, 311-Jadite, Wire Guard, 100-Black, Clear Class | Customer Submission 960 1280 79765
47934 63099 product 0 60167 A 9 C 0 0 CountryLivingKitchen-4.jpg Cooper Sconce, 200-White | As seen in Country Living Magazine, December 2019. Photography by Brian Woodcock. 2586 3878 60167
62868 63087 product 0 75101 A 9 C 0 0 Commercial-Exterior-Motorcycle-Shop-Biker-Colby-Sconce-975-galvanized-alt.jpg Colby Sconce, 975-Galvanized 1500 2105 75101
47935 63099 product 0 60168 A 10 C 0 0 CountryLivingKitchen-6.jpg Cooper Sconce, 200-White | As seen in Country Living Magazine, December 2019. Photography by Brian Woodcock. 2709 3793 60168
67001 63087 product 0 79234 A 10 C 0 0 residential-exterior-lighting-patio-Colby-Wall-Sconce-370-Mint-Dusk-To-Dawn-Photocell.jpg Colby Sconce, 370-Mint, Dusk to Dawn Photocell | Customer Submission 1500 1361 79234
47936 63099 product 0 60169 A 11 C 0 0 countrylivingkitchen_06.jpg (2) Cooper Sconce, 200-White | As seen in Country Living Magazine, December 2019. Photography by Brian Woodcock. 4350 2799 60169
62869 63087 product 0 75102 A 11 C 0 0 DSCF1951-Commercial-Exterior-Motorcycle-Shop-Biker-Colby-Sconce-975-galvanized.jpg Colby Sconce, 975-Galvanized 1500 1928 75102
51469 63087 product 0 63702 A 12 C 0 0 87961827_10157260298119891_8588262449562517504_o.jpg Colby Sconce, 100-Black, WGG-Wire Guard, FST-Frosted Glass 960 904 63702
61473 63099 product 0 73706 A 12 C 0 0 Cooper_Wall_Sconce_-_Barn_Light_Electric_-_Bathroom_Lighting.jpg Cooper Sconce, 400-Barn Red, Wire Guard & Clear Glass | Photo Courtesy of Dream House Studios 1242 1206 73706
60750 63099 product 0 72983 A 13 C 0 0 Cooper_Wall_Sconce_-_Barn_Light_Electric_-_Exterior_Porch_Lighting.jpg Cooper Sconce, 100-Black | Photo Courtesy of Homeowner 2475 3300 72983
67002 63087 product 0 79235 A 13 C 0 0 residential-exterior-lighting-on-patio-Colby-Wall-Sconce-370-Mint-Dusk-To-Dawn-Photocell.jpg Colby Sconce, 370-Mint, Dusk to Dawn Photocell | Customer Submission 1500 999 79235
51470 63087 product 0 63703 A 14 C 0 0 colby-wall-sconce-black-wgg.jpg Colby Sconce, 100-Black, WGG-Wire Guard, FST-Frosted Glass 1500 1124 63703
67003 63087 product 0 79236 A 15 C 0 0 residential-exterior-lighting-on-porch-entryway-Colby-Wall-Sconce-975-Galvanized-Dusk-To-Dawn-Photocell.jpg Colby Sconce, 975-Galvanized, Dusk to Dawn Photocell | Customer Submission 1500 1000 79236