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 (62020, 61411, 63087, 61213) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00122

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": 46,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62020,61411,63087,61213)"
        }
      }
    },
    "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
24265 63087 product 0 36244 A 0 D 0 0 Colby-sconce-100-black.jpg Colby Wall Sconce, 100-Black 1000 1000 36244
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
64794 61213 product 0 77027 A 0 D 0 0 Laramie-gooseneck-LED-12in-200-white-G13-100-black.jpg 12" Laramie LED, 200-White, G13 Gooseneck Arm, 100-Black 1000 1000 77027
64605 63087 product 0 76838 A 1 D 0 0 Colby-sconce-975-galvanized.jpg Colby Wall Sconce, 975-Galvanized 1000 1000 76838
64788 62020 product 0 77021 A 1 D 0 0 Chestnut-Gooseneck-16in-975-galvanized-G65.jpg 16" Chestnut, 975-Galvanized, G65 Gooseneck Arm 1000 1000 77021
64801 61213 product 0 77034 A 1 D 0 0 Laramie-gooseneck-LED-16in-975-galvanized-G22.jpg 16" Laramie LED, 975-Galvanized, G22 Gooseneck Arm 1000 1000 77034
64853 61411 product 0 77086 A 1 D 0 0 Laramie-Wall-Sconce-16in-975-galvanized-CGG-RIB.jpg 16" Laramie Wall Sconce, 975-Galvanized, CGG-Standard Cast Guard, RIB-Ribbed Glass 1000 1000 77086
19203 62020 product 0 30915 A 2 D 0 0 Chestnut-Gooseneck-8in-390-teal-G3.jpg 8" Chestnut, 390-Teal, G3 Straight Arm 1000 1000 30915
24303 63087 product 0 36282 A 2 D 0 0 Colby-sconce-200-white.jpg Colby Wall Sconce, 200-White 1000 1000 36282
30219 61411 product 0 42442 A 2 D 0 0 Laramie-Wall-Sconce-12in-500-buttery-yellow.jpg 12" Laramie Wall Sconce, 500-Buttery Yellow 1000 1000 42442
64799 61213 product 0 77032 A 2 D 0 0 Laramie-gooseneck-LED-16in-100-black-G8-WC.jpg 16" Laramie LED, 100-Black, Wire Cage, G6 Gooseneck Arm 1000 1000 77032
19332 62020 product 0 31054 A 3 D 0 0 Chestnut-Gooseneck-16in-100-black-G8.jpg 16" Chestnut, 100-Black, G8 Gooseneck Arm 1000 1000 31054
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
64795 61213 product 0 77028 A 3 D 0 0 Laramie-gooseneck-LED-12in-500-buttery-yellow-G26.jpg 12" Laramie LED, 500-Buttery Yellow, G26 Gooseneck Arm 1000 1000 77028
64851 61411 product 0 77084 A 3 D 0 0 Laramie-Wall-Sconce-16in-100-black-WC_kkib-27.jpg 16" Laramie Wall Sconce, 100-Black, Wire Cage 1000 1000 77084
29696 62020 product 0 41919 A 4 D 0 0 Chestnut-Gooseneck-12in-200-G24.jpg 12" Chestnut, 200-White, G24 Gooseneck Arm 1000 1000 41919
30220 61411 product 0 42443 A 4 D 0 0 Laramie-Wall-Sconce-12in-790-lavender.jpg 12" Laramie Wall Sconce, 790-Lavender 1000 1000 42443
64603 63087 product 0 76836 A 4 D 0 0 Colby-sconce-705-navy.jpg Colby Wall Sconce, 705-Navy 1000 1000 76836
52286 61213 product 0 64519 A 5 C 0 0 american_made_led_lights-768x445.jpg Laramie LED, 100-Black, G32 Gooseneck Arm 768 445 64519
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
16088 61411 product 0 27608 A 6 D 0 0 Laramie-Wall-Sconce-12in-200-white.jpg 12" Laramie Wall Sconce, 200-White 1000 1000 27608
59376 61213 product 0 71609 A 6 C 0 0 Laramie_LED_Gooseneck_Light_-_300_Dark_Green_Barn_Light_Electric_-_Modern_Staircase_Lighting.jpg Laramie LED, 307-Emerald Green, G26 Gooseneck Arm, 850 Lumens, 3000K, Flat Lens | Photo Courtesy of Homeowner 1500 1863 71609
32492 61411 product 0 44725 A 7 C 0 0 laramie_wall_sconce_12in-textrdblack.jpg (2) 12" Laramie Sconces, 105-Textured Black | Photo Courtesy of Hinton Mills Farm Supply 1500 2000 44725
47354 61213 product 0 59587 A 7 C 0 0 laramie-gooseneck-100-black.jpg Laramie LED, 100-Black, G32 Gooseneck Arm 1500 2000 59587
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
61411 61411 product 0 73644 A 8 C 0 0 Laramie_Wall_Sconce_-_Barn_Light_Electric_-_Farmhouse_Bathroom_Lighting-100-black.jpg 12" Laramie Sconce, 106-Matte Black | Photo Courtesy of Homeowner 1500 1759 73644
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
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
64281 62020 product 0 76514 A 9 C 0 0 Laramie_Gooseneck_Light.png 8" Chestnut, 615-Oil Rubbed Bronze, G35 arm | Photo Courtesy of Homeowner 970 1250 76514
68212 61411 product 0 80445 A 9 C 0 0 Vernon_Family_Farm_2-commercial-exterior-farm-kitchen-restaurant-lighting-Canal-SoHo-Sconce-570-Sunflower-975-Galvanized-Laramie-Wall-Sconce-16in-400-Barn-Red-TGG-Frosted.jpg 16" Laramie Wall Sconce, 400-Barn Red, Heavy Duty Cast Guard, Frosted Glass | Photo Courtesy of Whitewave Photograhy 1883 1415 80445
65390 61411 product 0 77623 A 10 C 0 0 red-laramie-cgg.jpg 16" Laramie Sconce, 400-Barn Red, TGG, Frosted Glass | Photo Courtesy of Whitewave Photography 1500 2254 77623
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
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
50307 62020 product 0 62540 A 12 C 0 0 chestnut-gooseneck-light-975-galvanized.jpg 16" Chestnut, 975-Galvanized, G15 Gooseneck Arm 1500 1000 62540
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
60316 61411 product 0 72549 A 12 C 0 0 Laramie_Wall_Sconce_-_Barn_Light_Electric_-_Front_Porch_Farmhouse_Lighting.jpeg Laramie Sconce, 975-Galvanized | Photo Courtesy of From the Hartland (@from.the.hartland) 1536 2048 72549
61412 61411 product 0 73645 A 13 C 0 0 Laramie_Wall_Sconce_-_100_Black_Barn_Light_Electric_-_Farmhouse_Bathroom_Vanity_Lighting.jpg 12" Laramie Sconce, 106-Matte Black | Photo Courtesy of Homeowner 1500 2000 73645
63360 62020 product 0 75593 A 13 C 0 0 residential-exterior-porch-deck-stairs-lighting-Chestnut-Gooseneck-Light-16in-200-White-G15arm-975-Galvanized.jpg 16" Chestnut, 200-White, G15 Gooseneck Arm in 975 Galvanized | Photo Courtesy of Homeowner 1500 1807 75593
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
59192 62020 product 0 71425 A 14 C 0 0 Chestnut_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper_Exterior_Garage_Lighting.jpg 8” Chestnut, 995-Natural Raw Copper, G3 Gooseneck Arm in 100-Black, Dusk-to-Dawn Photocell | Photo Courtesy of Homeowner 1477 1971 71425
60315 61411 product 0 72548 A 14 C 0 0 Laramie_Wall_Sconce_-_Barn_Light_Electric_-_Farmhouse_Decor_Back_Porch_Lighting-galvanized.jpg Laramie Sconce, 975-Galvanized | Photo Courtesy of From the Hartland (@from.the.hartland) 1500 2000 72548
30965 62020 product 0 43198 A 15 C 0 0 gooseneck_barn_lighting-512x768.jpg 16" Chestnut, 975-Galvanized, G15 Gooseneck Arm 512 768 43198
60317 61411 product 0 72550 A 15 C 0 0 Laramie_Wall_Sconce_-_Barn_Light_Electric_-_Farmhouse_Front_Porch_Lighting_.jpeg Laramie Sconce, 975-Galvanized | Photo Courtesy of From the Hartland (@from.the.hartland) 2048 1536 72550
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
62870 61411 product 0 75103 A 16 C 0 0 4M5A1362-Commercial-Interior-Hotel-Restaurant-Breakfast-Bar-Laramie-Sconce-975-galvanized-on.jpg 12" Laramie Sconce, 975-Galvanized 1500 1000 75103