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 (60601, 64726, 60825, 60659) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00135

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": 68,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (60601,64726,60825,60659)"
        }
      }
    },
    "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
37232 64726 product 0 49465 A 0 D 0 0 wilcox-cord-24in-490-Magenta-SBK.jpg 24" Wilcox, 490-Magenta, Standard Black Cord 1000 1000 49465
63399 60659 product 0 75632 A 0 D 0 0 Dino-studio-cable-14in-400-barn-red-CRZ.jpg 14" Dino Studio Light, 400-Barn Red, Wire Cage, 975-Galvanized, CRZ-Red Chevron Cord 1000 1000 75632
63541 60601 product 0 75774 A 0 D 0 0 union-studio-cable-16in-975-galvanized-CSBW-CGG-100-black-FST.jpg 16" Union, 975-Galvanized, CGG-Standard Cast Guard, 100-Black, FST-Frosted Glass, CSBW-Black & White Cloth Cord 1000 1000 75774
64036 60825 product 0 76269 A 0 D 0 0 marathon-studio-cable-16in-975-galvanized-CSB.jpg 16" Marathon, 975-Galvanized, CSB-Black Cloth Cord, Shown with LED Edison T14 Bulb 1000 1000 76269
62836 64726 product 0 75069 A 1 D 0 0 wilcox-cord-16in-975-galvanized-Silver-cloth-cord.jpg 16" Wilcox, 975-Galvanized, Silver Cloth Cord 1000 1000 75069
63401 60659 product 0 75634 A 1 D 0 0 Dino-studio-cable-full-build-100-black-SBK.jpg 12" Dino Studio Light, 100-Black, SBK-Standard Black Cord 1000 1000 75634
63542 60601 product 0 75775 A 1 D 0 0 union-studio-cable-full-build-16in-100-black-SBK.jpg 16" Union, 100-Black, SBK-Standard Black Cord 1000 1000 75775
64033 60825 product 0 76266 A 1 D 0 0 marathon-studio-cable-16in-105-textured-black-CSBW.jpg 16" Marathon, 105-Textured Black, CSBW-Black & White Cloth Cord, LED Edison G25 Bulb 1000 1000 76266
17759 60825 product 0 29387 A 2 D 0 0 marathon-studio-cable-12in-307-emerald-green-CSGW.jpg 12" Marathon, 307-Emerald Green, CSGW-Gold & White Cloth Cord, Shown with LED Edison S14 Bulb 1000 1000 29387
37241 64726 product 0 49474 A 2 D 0 0 wilcox-cord-14in-550-yellow-975-wire-cage-confetti-cloth-cord.jpg 14" Wilcox, 550-Porcelain Yellow, Wire Cage, 975-Galvanized, Confetti Cloth Cord 1000 1000 49474
63540 60601 product 0 75773 A 2 D 0 0 union-studio-cable-16in-400-barn-red-WC-CSR.jpg 16" Union, 400-Barn Red, Wire Cage, CSR-Red Cloth Cord 1000 1000 75773
12964 60659 product 0 22878 A 3 D 0 0 Dino-studio-cable-12in-307-emerald-green-CSBB.jpg 12" Dino Studio Light, 307-Emerald Green, CSBB-Black & Brown Chevron Cord 1000 1000 22878
37235 64726 product 0 49468 A 3 D 0 0 wilcox-cord-12in-705-navy-CSB-cloth-black-CGG.jpg 12" Wilcox, 705-Navy, CGG-Standard Cast Guard, RIB-Ribbed Glass, CSB-Black Cloth Cord 1000 1000 49468
63539 60601 product 0 75772 A 3 D 0 0 union-studio-cable-16in-200-white-CSW.jpg 16" Union, 200-White, CSW-White Cloth Cord 1000 1000 75772
64034 60825 product 0 76267 A 3 D 0 0 marathon-studio-cable-16in-490-magenta-CSBP.jpg 16" Marathon, 490-Magenta, CSBP-Black & Pink Cloth Cord, Shown with Porcelain III LED Tala Lamp 1000 1000 76267
17907 60825 product 0 29536 A 4 D 0 0 marathon-studio-cable-14-250-white-CSW.jpg 14" Marathon, 250-Porcelain White, CSW-White Cloth Cord, Shown with Nostalgic Edison-Style Victorian Bulb 1000 1000 29536
37233 64726 product 0 49466 A 4 D 0 0 wilcox-cord-8in-700-royal-blue-cloth-cord.jpg 8" Wilcox, 700-Royal Blue, Royal Blue Cloth Cord 1000 1000 49466
63400 60659 product 0 75633 A 4 D 0 0 Dino-studio-cable-14in-975-galvanized-CSBG.jpg 14" Dino Studio Light, 975-Galvanized, CSBG-Black & Gold Cloth Cord 1000 1000 75633
39200 64726 product 0 51433 A 5 D 0 0 wilcox-cord-24in-705-Navy-cloth-cord.jpg 24" Wilcox, 705-Navy, Navy Cloth Cord 1000 1000 51433
63397 60659 product 0 75630 A 5 D 0 0 Dino-studio-cable-14in-200-white-CSB.jpg 14" Dino Studio Light, 200-White, CSB-Black Cloth Cord 1000 1000 75630
63537 60601 product 0 75770 A 5 D 0 0 union-studio-cable-10in-500-buttery-yellow-CSBG.jpg 10" Union, 500-Buttery Yellow, CSBG-Black & Gold Cloth Cord 1000 1000 75770
64035 60825 product 0 76268 A 5 D 0 0 marathon-studio-cable-16in-705-Navy-CRD.jpg 16" Marathon, 705-Navy, CSR-Red Cloth Cord, Shown with LED Edison G25 Bulb 1000 1000 76268
66049 60601 product 0 78282 A 5 C 0 0 8DEA6232-7CC2-residential-interior-lighting-kitchen-Union-Studio-Light-16in-307-Emerald-Green-SBK-18in-Cable-Cord.jpeg 16" Union, 307-Emerald Green, Standard Black Cord, 18" Cable Cord | Photo Courtesy of LDD Interiors 4013 2436 78282
66050 60601 product 0 78283 A 5 C 0 0 F3D2D051-residential-interior-lighting-kitchen-Union-Studio-Light-16in-307-Emerald-Green-SBK-18in-Cable-Cord.jpeg 16" Union, 307-Emerald Green, Standard Black Cord, 18" Cable Cord | Photo Courtesy of LDD Interiors 3588 2640 78283
37242 64726 product 0 49475 A 6 D 0 0 wilcox-cord-12in-200-white-SWH-Standard-White.jpg 12" Wilcox, 200-White, SWH-Standard White Cord 1000 1000 49475
63395 60659 product 0 75628 A 6 D 0 0 Dino-studio-cable-12in-705-navy-TGG-975-galvanized-FST-CSR.jpg 12" Dino Studio Light, 705-Navy, TGG-Heavy Duty Cast Guard, 975-Galvanized, FST-Frosted Glass, CSR-Red Cloth Cord 1000 1000 75628
64032 60825 product 0 76265 A 6 D 0 0 marathon-studio-cable-14in-500-buttery-yellow-CSB.jpg 14" Marathon, 500-Buttery Yellow, CSB-Black Cloth Cord, Shown with LED Edison-Style 1890 Era Bulb 1000 1000 76265
37250 64726 product 0 49483 A 7 D 0 0 wilcox-cord-12in-998-weathered-brass-SBK.jpg 12" Wilcox, 998-Natural Weathered Brass, Standard Black Cord 1000 1000 49483
37251 64726 product 0 49484 A 8 D 0 0 wilcox-cord-20in-100-black-standard-black-cord-SBK.jpg 20" Wilcox, 100-Black, Standard Black Cord 1000 1000 49484
62827 64726 product 0 75060 A 9 D 0 0 wilcox-cord-10in-715-delphite-blue-SBK.jpg 10" Wilcox LED, 765-Porcelain Delphite, Standard Black Cord 1000 1000 75060
68218 64726 product 0 80451 A 10 C 0 0 Red_Pen_Procurement-commercial-interior-cafeteria-kitchen-wilcox-cord-pendant-24in-oversized-106-matte-black-sbk-standard-black-cord.jpg 24" Wilcox Deep Bowl Pendant, 106-Matte Black, Standard Black Cord | Photo Courtesy of Ren Pen Procurement 5851 3901 80451
68219 64726 product 0 80452 A 11 C 0 0 Red_Pen_Procurement-commercial-interior-office-bicycle-wilcox-cord-pendant-24in-oversized-106-matte-black-sbk-standard-black-cord-on-people.jpg 24" Wilcox Deep Bowl Pendant, 106-Matte Black, Standard Black Cord | Photo Courtesy of Ren Pen Procurement 2948 3930 80452
67973 64726 product 0 80206 A 12 C 0 0 residential-interior-lighting-kitchen-dining-Wilcox-Deep-Bowl-Pendant-24in-495-Sherbet-Orange-SBK-Brass-Canopy.jpg 24" Wilcox Deep Bowl, 495-Sherbert Orange, Standard Black Cord, Brass Canopy | Photo Courtesy of Chloe Rideout Interiors &Tamara Flanagan Photography 2596 3593 80206
63706 64726 product 0 75939 A 13 C 0 0 4_29_21_BlockIIDesign-32-commercial-interior-lighting-office-conference-room-DBW-Wilcox-Deep-Bowl-Pendant-16in-705-Navy-Standard-White-Cord.jpg 16" Wilcox, 705-Navy, SWK-Standard White Cord | Photo Courtesy of Block LII Design 1500 1000 75939
57171 64726 product 0 69404 A 14 C 0 0 Wilcox_Deep_Bowl_Cord_Hung_Pendant_Light_-_500_Buttery_Yellow_Barn_Light_Electric_-_Modern_Colorful_Blue_Kitchen_Lighting.jpg 16” Wilcox, 500-Buttery Yellow, SWH-Standard White Cord | Photo Courtesy of Jean Allsopp and Birmingham Home and Garden 1500 1914 69404
63704 64726 product 0 75937 A 15 C 0 0 4_29_21_BlockIIDesign-13-commercial-interior-lighting-kitchen-dining-DBW-Wilcox-Deep-Bowl-Pendant-8in-200-White-Standard-White-Cord.jpg 8" Wilcox, 200-White, SWK-Standard White Cord | Photo Courtesy of Block LII Design 1500 1000 75937
60283 64726 product 0 72516 A 16 C 0 0 Wilcox_Deep_Bowl_Pendant_Light_-_500_Buttery_Yellow_Barn_Light_Electric_-_Commercial_Apartment_Gym_Lighting.jpg 12” Wilcox, 570-Sunflower, SBK-Standard Black Cord, WC-Wire Cage Same as Shade | Photo Courtesy of The Lighting Group, Sechrist Design, Brent Smith Photography and Ethos Community in Kent, Washington 1500 1001 72516
67459 64726 product 0 79692 A 17 C 0 0 image004-residential-interior-lighting-kitchen-island-Wilcox-Deep-Bowl-Pendant-20in-500-Buttery-Yellow-CSGW-Gold-White-Cloth-Cord.jpg 20" Wilcox Deep Bowl Pendant, 500-Buttery Yellow, Gold & White Cloth Cord | Photo Courtesy of Heather Dachary 2106 1402 79692
52024 64726 product 0 64257 A 18 C 0 0 wilcox_pendant_light_20in_200-white_csbw.jpg (4) 20” Wilcox, 200-White, CSBW-Black & White Cloth | Photo Courtesy of Christine Burdick Design 1500 1002 64257
46273 64726 product 0 58506 A 19 C 0 0 wilcox_deep_bowl_pendant_20in_jadite_CSB.jpg (2) 20” Wilcox, 355-Jadite Porcelain, CSB-Black Cloth Cord | Photo Courtesy of HighCraft Builders 1500 989 58506
61988 64726 product 0 74221 A 20 C 0 0 Wilcox_Pendant_Light_-_200_White_Barn_Light_Electric_-_Living_Room_Lighting.jpg 20” Wilcox, 200-White, SBK-Standard Black Cord | Photo Courtesy of Homeowner 1500 1125 74221
61365 64726 product 0 73598 A 21 C 0 0 Wilcox_Deep_Bowl_Pendant_Light_-_455_Porcelain_Cherry_Red_Barn_Light_Electric_-_Living_Room_Lighting.jpg 20” Wilcox, 455-Cherry Red, WC-Wire Cage, CSBW-Black & White Cloth Cord | Photo Courtesy of Proper Wit Design 1500 1000 73598
57170 64726 product 0 69403 A 22 C 0 0 Wilcox_Deep_Bowl_Cord_Hung_Pendant_Light_100_Black_-_Barn_Light_Electric_-_Modern_Colorful_Kitchen_Island_Lighting.jpg 20” Wilcox, 100-Black, CSBW-Black & White Cloth Cord | Photo Courtesy of Jean Allsopp and Birmingham Home and Garden 1500 976 69403
61363 64726 product 0 73596 A 23 C 0 0 Wilcox_Deep_Bowl_Pendant_Light_-_200_White_Barn_Light_Electric_-_Retail_Lighting.jpg 10” Wilcox, 250-White, CSBW-Black & White Cloth Cord | Photo Courtesy of Proper Wit Design 1500 2000 73596
62418 64726 product 0 74651 A 24 C 0 0 Wilcox_Pendant_Light_20in_100_Black_SBK.jpg 20" Wilcox, 100-Black, SBK-Standard Black Cord | Photo Courtesy of Tilted Barn Brewery & Apex Lighting 1500 2000 74651
46667 64726 product 0 58900 A 25 C 0 0 wilcox_deep_bowl_pendant_20in_455-cherryred_sbk2.jpg 20” Wilcox, 445-Cherry Red | Photo Courtesy of Early Girl Eatery in Asheville, North Carolina and EKR Interior Design 1500 1813 58900
53852 64726 product 0 66085 A 26 C 0 0 quick-ship-wilcox-deep-bowl-pendant-light-12in-200-white-swh-wirecage-mexican-restaurant.jpg 12" Wilcox, 200-White, SWH-Standard White Cord, Wire Cage | Photo Courtesy of Ferris & Company, Uno Mas Tacos y Tequila in Oxford, Mississippi and Andrew Welch Photography 1500 1001 66085
57174 64726 product 0 69407 A 27 C 0 0 Wilcox_Deep_Bowl_Cord_Hung_Pendant_Lighting_-_100_Black_Barn_Light_Electric_-_Farmhouse_Colorful_Kitchen_Lighting.jpg 20” Wilcox, 100-Black, CSBW-Black & White Cloth Cord | Photo Courtesy of Jean Allsopp and Birmingham Home and Garden 1500 2129 69407
56117 64726 product 0 68350 A 28 C 0 0 wilcox_pendant_light_20in_100-black_SBK_CGG_frostedglass-commercial-interior-restaurant_yx0x-o5.jpg 20” Wilcox, 100-Black | Photo Courtesy of Kindred Fare and Paul Vanhoy Photography 1500 2274 68350
37245 64726 product 0 49478 A 29 C 0 0 wilcox-deep-bowl-200-white.jpg 12" Wilcox, 200-White, SBK-Standard Black Cord | Photo Courtesy of Nathan Howard, Rebuild the Block 1500 2249 49478
53858 64726 product 0 66091 A 30 C 0 0 Wilco-Deep-Bowl-Cord-Pendant-10in-400-Barn-Red-Dining-Room-Table-Shiplap.jpg (2) 20” Wilcox, 400-Barn Red, SBK-Standard Black Cord | Photo Courtesy of Molly Dennis 1500 1375 66091
57173 64726 product 0 69406 A 31 C 0 0 Wilcox_Deep_Bowl_Cord_Hung_Pendant_Light_-_Barn_Light_Electric_-_500_Buttery_Yellow_Kitchen_Lighting.jpg 16” Wilcox, 500-Buttery Yellow, SWH-Standard White Cord | Photo Courtesy of Jean Allsopp and Birmingham Home and Garden 1500 1000 69406
53853 64726 product 0 66086 A 32 C 0 0 quick-ship-wilcox-deep-bowl-pendant-light-12in-200-white-swh-wirecage12-mexican-restaurant.jpg 12" Wilcox, 200-White, SWH-Standard White Cord, Wire Cage | Photo Courtesy of Ferris & Company, Uno Mas Tacos y Tequila in Oxford, Mississippi and Andrew Welch Photography 1500 2249 66086
56054 64726 product 0 68287 A 33 C 0 0 trendland-residential-kitchen-island-wilcox-cord-pendant-white-porcelain-wire-cage-shiplap-subway-tile.jpg 16" Wilcox, 200-White, WC-Wire Cage, TBK-Black Cotton Twist | Photo Courtesy of Trendland 1200 800 68287
52023 64726 product 0 64256 A 34 C 0 0 wilcox_pendant_light_20in_200_white_csbw4.jpg (3) 20” Wilcox, 200-White, CSBW-Black & White Cloth | Photo Courtesy of Christine Burdick Design 1500 1645 64256
53839 64726 product 0 66072 A 35 C 0 0 2V3A1839-Brix-Wesco-999-Oil-Rubbed-Copper.jpg (2) 12" Wilcox, 999-Natural Oil Rubbed Copper, SBK-Standard Black Cord | Photo Courtesy of Playalinda Brewing Brix Project 1500 2250 66072
50183 64726 product 0 62416 A 36 C 0 0 Wilcox_Deep_Bowl_Cord_Pendant_-_Barn_Light_Electric_-_Dining_Room_Modern_Lighting.jpg 20” Wilcox, 250-White, TWH-White Cotton Twist | Photo Courtesy of More & Co. (@moreandco) 960 1280 62416
37244 64726 product 0 49477 A 37 C 0 0 american_made_lighting_copper-678x1024-509x768.jpg (2) 12" Wilcox, 995-Natural Raw Copper, SBK-Standard Black Cord | Photo Courtesy of Customer 509 768 49477
49910 64726 product 0 62143 A 38 C 0 0 Barn_Light_Electric_-_12__Wilcox,_995-Raw_Copper,_SBK-Standard_Black_Cord.jpg (2) 12" Wilcox, 995-Natural Raw Copper, SBK-Standard Black Cord | Photo Courtesy of Customer 678 1024 62143
65916 64726 product 0 78149 A 39 C 0 0 commercial-interior-lighting-bakery-retail-Wilcox-Deep-Bowl-Pendant-16in-570-Sunflower-SWH.jpg 16" Wilcox, 570-Sunflower, Standard White Cord | Photo Courtesy of Sugarbees Fine Confections 1500 1721 78149
61364 64726 product 0 73597 A 40 C 0 0 Wilcox_Deep_Bowl_Pendant_Light_-_Barn_Light_Electric_-_Commercial_Retail_Store_Lighting.jpg 10” Wilcox, 250-White, CSBW-Black & White Cloth Cord | Photo Courtesy of Proper Wit Design 1024 1536 73597
37253 64726 product 0 49486 A 41 C 0 0 atticreno18.jpg 16" Wilcox, 350-Porcelain Vintage Green | Photo Courtesy of Sara Parsons 1060 707 49486
37246 64726 product 0 49479 A 42 C 0 0 copper_pendants_barn_lighting__768x1024_.jpg 12" Wilcox, 995-Natural Raw Copper, SBK-Standard Black Cord | Customer Submission 768 1024 49479
46272 64726 product 0 58505 A 43 C 0 0 wilcox_deep_bowl_pendant_20in_355-jadite_CSB3.jpg (2) 20” Wilcox, 355-Jadite Porcelain, CSB-Black Cloth Cord | Photo Courtesy of HighCraft Builders 1500 1000 58505
37243 64726 product 0 49476 A 44 C 0 0 copper-light-pendants.jpg 12" Wilcox, 995-Natural Raw Copper, SBK-Standard Black Cord | Customer Submission 700 500 49476
37238 64726 product 0 49471 A 45 C 0 0 wesco_pendant_inch_white_rocket_city_retro.jpg 12" Wilcox, 200-White, SWH-Standard White Cord 600 900 49471
37252 64726 product 0 49485 A 46 C 0 0 kelly.jpg 16" Wilcox, 250-Porcelain White, SWH-Standard White Cord | Photo Courtesy of Kelly Hurliman 927 927 49485
65075 64726 product 0 77308 A 47 C 0 0 commercial-interior-restaurant-lighting-Wilcox-Deep-Bowl-Pendant-16in-490-Magenta-SBK-alt.jpg 16" Wilcox Deep Bowl Pendant, 490-Magenta, SBK-Standard Black Cord | Photo Courtesy of Taco & Pina Restaurant 1500 1315 77308