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 (64725, 62058, 60603, 62057) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00116

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": 64,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64725,62058,60603,62057)"
        }
      }
    },
    "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
19703 62057 product 0 31492 A 0 D 0 0 wilcox-vented-cord-12in-705-navy-cloth-cord.jpg 12" Wilcox Vented, 705-Navy, Narrow Slot Vents, Navy Cloth Cord 1000 1000 31492
19720 62058 product 0 31509 A 0 D 0 0 wilcox-vented-stem-10in-995-copper-vdbw.jpg 10" Wilcox Vented, Narrow Slot Vents, 995-Natural Raw Copper 1000 1000 31509
19722 62058 product 0 31511 A 0 D 0 0 wilcox-vented-stem-16in-100-black-980-brushed-aluminum-WC-vdbw.jpg 16" Wilcox Vented, 100-Black, Circle Vents, Wire Cage, 975-Galvanized, Mounting in 980-Brushed Aluminum 1000 1000 31511
19738 62058 product 0 31527 A 0 D 0 0 wilcox-vented-stem-14in-975-galvanized-hang-straight-dbw.jpg 14" Wilcox Vented, 975-Galvanized, Circle Vents, Hang Straight Canopy 1000 1000 31527
29811 62058 product 0 42034 A 0 D 0 0 wilcox-vented-stem-12in-705-navy-vdbw.jpg 12" Wilcox Vented, 705-Navy, Narrow Slot Vents 1000 1000 42034
29812 62058 product 0 42035 A 0 D 0 0 wilcox-vented-stem-12in-300-dark-green-vdbw.jpg 12" Wilcox Vented, 300-Dark Green, Narrow Slot Vents 1000 1000 42035
62852 60603 product 0 75085 A 0 D 0 0 wilcox-16in-705-navy-sbk-standard-black-cord-studio-cable-full-build.jpg 16" Wilcox Studio Light, 705-Navy, SBK-Standard Black Cord 1000 1000 75085
19701 62057 product 0 31490 A 1 D 0 0 wilcox-vented-cord-14in-975-galvanized-silver-cloth-cord.jpg 14" Wilcox Vented, 975-Galvanized, Circle Vents, Silver Cloth Cord 1000 1000 31490
36986 64725 product 0 49219 A 1 D 0 0 wilcox-chain-12in-100-black-SBK-CGG-RIB.jpg 12" Wilcox, 100-Black, CGG-Standard Cast Guard, RIB-Ribbed Glass, SBK-Standard Black Cord 1000 1000 49219
62854 60603 product 0 75087 A 1 D 0 0 wilcox-24in-400-barn-red-CRZ-red-chevron-cloth-cord-studio-cable.jpg 24" Wilcox Studio Light, 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 75087
11436 60603 product 0 19832 A 2 D 0 0 wilcox-10in-765-Delphite-SBK-standard-black-cord-studio-cable.jpg 10" Wilcox Studio Light, 765-Porcelain Delphite, SBK-Standard Black Cord 1000 1000 19832
29941 62057 product 0 42164 A 2 D 0 0 wilcox-vented-cord-20in-400-barn-red-swirl-cord.jpg 20" Wilcox Vented, 400-Barn Red, Circle Vents, Barn Red & Black Swirl Cloth Cord 1000 1000 42164
19704 62057 product 0 31493 A 3 D 0 0 wilcox-vented-cord-16in-300-dark-green-SBK.jpg 16" Wilcox Vented, 300-Dark Green, Circle Vents, Standard Black Cord 1000 1000 31493
42516 64725 product 0 54749 A 3 D 0 0 wilcox-chain-14in-975-galvanized-400-barn-red-CSBW-black-white-cord-dbw.jpg 14" Wilcox, 975-Galvanized, Mounting in 400-Barn Red, CSBW-Black & White Cloth Cord 1000 1000 54749
62853 60603 product 0 75086 A 3 D 0 0 wilcox-20in-100-black-CSB-black-cloth-cord-studio-cable.jpg 20" Wilcox Studio Light, 100-Black, CSB-Black Cloth Cord 1000 1000 75086
36987 64725 product 0 49220 A 4 D 0 0 wilcox-chain-24in-307-emerald-green-sbk.jpg 24" Wilcox, 307-Emerald Green, SBK-Standard Black Cord 1000 1000 49220
62851 60603 product 0 75084 A 4 D 0 0 wilcox-14in-550-yellow-CSBG-Black-gold-cord-studio-cable.jpg 14" Wilcox Studio Light, 550-Porcelain Yellow, CSBG-Black & Gold Cloth Cord 2206 2206 75084
62948 62057 product 0 75181 A 4 C 0 0 16in-wilcox-vented-pendant-galvanized-narrow-slot-vent-sbk.jpg 16" Wilcox Vented Cord Hung Pendant, 975-Galvanized, Narrow Slot Vent, SBK-Standard Black Cord 1500 2000 75181
17872 60603 product 0 29501 A 5 D 0 0 wilcox-12in-250-White-CSGW-gold-white-cord-studio-cable.jpg 12" Wilcox Studio Light, 250-Porcelain White, CSGW-Gold & White Cloth Cord 2206 2206 29501
36578 62057 product 0 48811 A 5 C 0 0 wesco_vented_cord_12in_white_CSBW.jpg (2) 12" Wilcox Vented Cord Hung Pendants, 200-White, Narrow Slot Vent, CSBW - Black & White Clot | Photo Courtesy of Home Owner 1500 2285 48811
36991 64725 product 0 49224 A 5 D 0 0 wilcox-chain-10in-997-raw-brass-975-galvanized-CSGW.jpg 10" Wilcox, 997-Natural Raw Brass, Mounting in 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 49224
60769 62057 product 0 73002 A 6 C 0 0 Wilcox_Vented_Cord_Pendant_-_100_Black_Barn_Light_Electric_-_Dining_Room_Pendant_Lighting4.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Narrow Slot Vent, SBK-Standard Black Cord | Photo Courtesy of Designs North West 1500 2000 73002
61848 60603 product 0 74081 A 6 C 0 0 Wilcox_Studio_Light_-_Porcelain-Vintage_Green_Barn_Light_Electric_-_Restaurant_Lighting.jpg 20” Wilcox Studio Light, 350-Vintage Green, SBK-Standard Black Cord (Also pictured: Downtown Minimalist Wooden Socket Pendant) | Photo Courtesy of Lauren Griffith Interiors 1500 999 74081
62811 64725 product 0 75044 A 6 D 0 0 wilcox-chain-20in-200-black-CSBG-black-gold-cord.jpg 20" Wilcox, 100-Black, Mounting in 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 75044
36993 64725 product 0 49226 A 7 D 0 0 wilcox-chain-8in-700-royal-CSUW.jpg 8" Wilcox, 700-Royal Blue, CSUW-Blue & White Cloth Cord 1000 1000 49226
60770 62057 product 0 73003 A 7 C 0 0 Wilcox_Vented_Cord_Pendant_-_100_Black_Barn_Light_Electric_-_Dining_Room_Pendant_Lighting_61t1-u3.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Narrow Slot Vent, SBK-Standard Black Cord | Photo Courtesy of Designs North West 1500 1000 73003
61850 60603 product 0 74083 A 7 C 0 0 Wilcox_Studio_Light_-_Vintage_Green_Barn_Light_Electric_-_Restaurant_Dining_Lighting.jpg 20” Wilcox Studio Light, 350-Vintage Green, SBK-Standard Black Cord (Also pictured: Downtown Minimalist Wooden Socket Pendant and Sterling Studio Light) | Photo Courtesy of Lauren Griffith Interiors 1500 1001 74083
35902 62057 product 0 48135 A 8 C 0 0 wesco_vented_pendant_rawcopper_12in_sbk_verticalvent3.jpg (8) 12" Wilcox Vented Cord Hung Pendants, 995-Raw Copper, Narrow Slot Vent, SBK-Standard Black Cord, Copper Hex Cover | Photo Courtesy of Campfire & Co. 1500 2250 48135
61849 60603 product 0 74082 A 8 C 0 0 Wilcox_Studio_Light_-_Vintage_Green_Barn_Light_Electric_-_Commercial_Restaurant_Lighting.jpg 20” Wilcox Studio Light, 350-Vintage Green, SBK-Standard Black Cord (Also pictured: Downtown Minimalist Wooden Socket Pendant and Sterling Studio Light) | Photo Courtesy of Lauren Griffith Interiors 1500 1002 74082
35130 62057 product 0 47363 A 9 C 0 0 wilcox-vented-100-black-narrow-slot-vent.jpg 16" Wilcox Vented Cord Hung Pendant Lights, 100-Black, Narrow Slot Vents, TBW-Black & White Chevron Twist Cord | Photo Courtesy of Lolly Jane Blog 1500 2342 47363
61851 60603 product 0 74084 A 9 C 0 0 Wilcox_Studio_Light_-_Vintage_Green_Barn_Light_Electric_-_Commercial_Lighting.jpg 20” Wilcox Studio Light, 350-Vintage Green, SBK-Standard Black Cord | Photo Courtesy of Lauren Griffith Interiors 1500 2250 74084
62815 64725 product 0 75048 A 9 D 0 0 wilcox-chain-20in-750-cobalt-CSUW-blue-white-cord.jpg 20" Wilcox, 715-Cobalt Blue, CSUW-Blue & White Cloth Cord 1000 1000 75048
60767 62057 product 0 73000 A 10 C 0 0 Wilcox_Vented_Cord_Pendant_-_100-Black-Barn_Light_Electric_-_Dining_Room_Pendant_Lighting.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Narrow Slot Vent, SBK-Standard Black Cord | Photo Courtesy of Designs North West 1500 1500 73000
62812 64725 product 0 75045 A 10 D 0 0 wilcox-chain-24in-400-barn-red-CSB-black-cloth-cord.jpg 24" Wilcox, 400-Barn Red, CSB-Black Cloth Cord 1000 1000 75045
32296 62057 product 0 44529 A 11 C 0 0 wesco_vented_pendant_raw_copper_12in_sbk_verticalvent.jpg (5) 12" Wilcox Vented Cord Hung Pendants, 995-Raw Copper, Narrow Slot Vent, SBK-Standard Black Cord, Copper Hex Cover | Photo Courtesy of Campfire & Co. 1500 990 44529
36994 64725 product 0 49227 A 11 D 0 0 wilcox-chain-12in-705-Navy-975-galvanized-CSGW.jpg 12" Wilcox, 705-Navy, Mounting in 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 49227
48926 64725 product 0 61159 A 12 C 0 0 wilcox-chain-hung-975-galvanized.jpg 14” Wilcox, 975-Galvanized, Galvanized Chain with SBK-Standard Black Cord | Photo Courtesy of Studio McGee @studiomcgee 1500 2008 61159
60771 62057 product 0 73004 A 12 C 0 0 Wilcox_Vented_Cord_Pendant_-_100_Black_Barn_Light_Electric_-_Dining_Room_Pendant_Lighting2.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Narrow Slot Vent, SBK-Standard Black Cord | Photo Courtesy of Designs North West 1500 2163 73004
50062 62057 product 0 62295 A 13 C 0 0 wesco_vented_cord_12in_200_white_CSBW416.jpg 12" Wilcox Vented Cord Hung Pendants, 200-White, Narrow Slot Vent, CSBW - Black & White Clot | Photo Courtesy of Home Owner 1500 1861 62295
72562 64725 product 0 84795 A 13 C 0 0 3283151-commercial-interior-office-conference-room-meeting-Wilcox-chain-pendant-20in-shade-815-light-grey-standard-white-cord.jpg 20" Wilcox Chain Hung, 815-Light Grey, SWH-Standard White Cord 3558 2400 84795
44342 64725 product 0 56575 A 14 C 0 0 wilcox-chain-hung-blush-pink.jpg 16" Wilcox, 480-Blush Pink, Galvanized Chain with Black & White Cloth Cord 1500 1000 56575
60772 62057 product 0 73005 A 14 C 0 0 Wilcox_Vented_Cord_Pendant_-_100_Black_Barn_Light_Electric_-_Dining_Room_Pendant_Lighting3_l091-gr.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Narrow Slot Vent, SBK-Standard Black Cord | Photo Courtesy of Designs North West 1500 1061 73005
30249 62057 product 0 42472 A 15 C 0 0 barn_lighting_pendants-539x768.jpg 16" Wilcox Vented Cord Hung Pendant Lights, 100-Black, Narrow Slot Vents, TBW-Black & White Chevron Twist Cord | Photo Courtesy of Lolly Jane Blog 539 768 42472
48927 64725 product 0 61160 A 15 C 0 0 wilcox_deep_bowl_chain_hung_pendants_galvanized_hallway_herringbone_floors_shiplap.jpg 14” Wilcox, 975-Galvanized, Galvanized Chain with SBK-Standard Black Cord | Photo Courtesy of Studio McGee @studiomcgee 1500 2250 61160
32295 62057 product 0 44528 A 16 C 0 0 wesco_vented_pendant_raw_copper_12in_sbk_verticalvent5.jpg (7) 12" Wilcox Vented Cord Hung Pendants, 995-Natural Raw Copper, Narrow Slot Vent, SBK-Standard Black Cord, Copper Hex Cover | Photo Courtesy of Campfire & Co. 1500 1029 44528
40411 64725 product 0 52644 A 16 C 0 0 wilcox_chain_hung_pendant_20in_teal_1fam-89.jpg 20” Wilcox, 390-Teal, Teal Chain with Black Standard Cord | Design by Regan Baker Design and Photography by Suzanna Scott Photography 1500 1101 52644
20628 62057 product 0 32455 A 17 C 0 0 wesco-deep-bowl-vented-200-white.jpg 16" Wilcox Vented Cord Hung Pendant, 200-White, Circle Vent, CSB-Black Cloth Cord 1000 750 32455
56234 64725 product 0 68467 A 17 C 0 0 wilcox_chain_hung_pendant_20in_105_textured_black_CGG_CSBW6.jpg 20” Wilcox, 105-Textured Black | Courtesy of fcStdio and Katrina Wittcamp 1500 2313 68467
28564 62057 product 0 40763 A 18 C 0 0 354B1428-fall.jpg (2) 20" Wilcox Vented Cord Hung Pendant Lights, 100-Black, SBK-Standard Black Cord | Pictured with our Porcelain Enamel Dinnreware 1000 667 40763
59572 64725 product 0 71805 A 18 C 0 0 Wilcox_Deep_Bowl_Chain_Pendant_Light_-_Barn_Light_Electric_-_Commercial_Bakery_Lighting.jpg 20” Wilcox, 100-Black, 4 ft of Chain in 100-Black with SBK-Standard Black Cord | Photo Courtesy of Janks Design Group, Breka Bakery, Symmetry Lighting and Christine Pienaar Photography 1024 683 71805
30400 62057 product 0 42632 A 19 C 0 0 commercial_barn_lights-768x511.jpg (4) 14" Wilcox Vented Cord Hung Pendant Lights, 105-Textured Black, Circle Vents, SBK-Standard Black Cord | Photo Courtesy of Madeline Broderick Photography, The Chris & Claude Company and Café One Eight 768 511 42632
36995 64725 product 0 49228 A 19 C 0 0 wesco-chain-hung-blush-pink-galv-chain-csbw.jpg 16" Wilcox, 480-Blush Pink, Galvanized Chain with Black & White Cloth Cord 900 600 49228
62949 62057 product 0 75182 A 20 C 0 0 16in-wilcox-vented-narrow-slot-vent-galvanized-sbk.jpg 16" Wilcox Vented Cord Hung Pendant, 975-Galvanized, Narrow Slot Vent, SBK-Standard Black Cord 1500 1125 75182
51662 62057 product 0 63895 A 21 C 0 0 DSC00305_copy.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Circle Vent, CSBW - Black & White Clot | Photo Courtesy of Kangaroom Systems 1140 1536 63895
59573 64725 product 0 71806 A 21 C 0 0 Wilcox_Deep_Bowl_Chain_Hung_Pendant_Light_-_Barn_Light_Electric_-_Commercial_Interior_Lighting_Design.jpg 20” Wilcox, 100-Black, 4 ft of Chain in 100-Black with SBK-Standard Black Cord | Photo Courtesy of Janks Design Group, Breka Bakery, Symmetry Lighting and Christine Pienaar Photography 1024 1536 71806
59574 64725 product 0 71807 A 22 C 0 0 Wilcox_Deep_Bowl_Chain_Hung_Pendant_-_Barn_Light_Electric_-_Commercial_Restaurant_Bakery_Lighting.jpg 20” Wilcox, 100-Black, 4 ft of Chain in 100-Black with SBK-Standard Black Cord | Photo Courtesy of Janks Design Group, Breka Bakery, Symmetry Lighting and Christine Pienaar Photography 1024 1536 71807
60768 62057 product 0 73001 A 22 C 0 0 Wilcox_Vented_Cord_Pendant_-_100_Black_Barn_Light_Electric_-_Dining_Room_Pendant_Lighting3.jpg 20” Wilcox Vented Cord Hung Pendants, 100-Black, Narrow Slot Vent, SBK-Standard Black Cord | Photo Courtesy of Designs North West 1500 1091 73001
36996 64725 product 0 49229 A 23 C 0 0 office-remodel-21.jpg 16" Wilcox, 400-Barn Red, Galvanized Chain with Red Chevron Cord | Courtesy of A Spicy Perspectiv 600 900 49229
64486 62057 product 0 76719 A 23 D 0 0 IMG_0240-commercial-interior-restaurant-dining-room-table-wilcox-vented-uplight-cord-pendant-420-orange-975-galvanized-wire-cage-100-black-canopy-narrow-slot-vent-SBK-standard-black-cord-on.jpg 16" Wilcox Vented Cord Pendant, 420-Orange, Wire Cage, 975-Galvanized, Narrow Slot Vent, SBK-Standard Black Cord 3024 4032 76719
56235 64725 product 0 68468 A 24 C 0 0 wilcox_chain_hung_pendant_20in_105-txtrdblack_CGG_CSBW.jpg 20” Wilcox, 105-Textured Black | Courtesy of fcStdio and Katrina Wittcamp 1500 1012 68468
62161 64725 product 0 74394 A 25 C 0 0 american_made_chain_hung_lighting.JPG 16" Wilcox Chain Hung, 480-Blush Pink, SWH-Standard White Cord | Photo Courtesy of Homeowner 1224 1632 74394
62162 64725 product 0 74395 A 26 C 0 0 wilx-chain-hung-blush-pink-swh-.jpg 16" Wilcox Chain Hung, 480-Blush Pink, SWH-Standard White Cord | Photo Courtesy of Homeowner 1500 1090 74395
65251 64725 product 0 77484 A 27 C 0 0 residential-interior-lighting-kitchen-island-Wilcox-Deep-Bowl-Chain-Hung-Pendant-14in-380-Chartreuse-SWH.jpg 14" Wilcox Chain Hung Pendant, 380-Chartruese, SWH-Standard White Cord | Photo Courtesy of Homeowner 1500 1964 77484
65528 64725 product 0 77761 A 28 C 0 0 residential-interior-lighting-bathroom-vanity-Wilcox-Deep-Bowl-Chain-Hung-Pendant-16in-200-White-Chain-975-Galvanized-White-Cloth-Cord.jpg 16" Wilcox Chain Hung Pendant, 200-White, Chain 975-Galvanized, White Cloth Cord | Photo Courtesy of Kaywell Interiors 1500 2001 77761