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 (
    62258, 65562, 65584, 60732, 60733, 60737, 
    65522, 64621, 61385, 65524, 65653, 
    64942
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00198

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": 62,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (62258,65562,65584,60732,60733,60737,65522,64621,61385,65524,65653,64942)"
        }
      }
    },
    "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
33631 60733 product 0 45864 A 0 D 0 0 12_inch_fire_chief_shade_g5_gooseneck_150_black_2.jpg G5 Gooseneck Arm (Displayed Here: 12" Fire Chief, 100-Black, G5 Gooseneck Arm) 1000 1000 45864
48361 64942 product 0 60594 A 0 D 0 0 globe-glass-clear.jpg Round Schoolhouse Glass, Clear 1000 1000 60594
53868 62258 product 0 66101 A 0 D 0 0 Heavy-Duty-Guard-Delphite.jpg Heavy Duty Guard, 715-Delphite 1000 1000 66101
53869 62258 product 0 66102 A 0 D 0 0 Heavy-Duty-Guard-Galvanized.jpg Heavy Duty Guard, 975-Galvanized 1000 1000 66102
57047 62258 product 0 69280 A 0 C 0 0 Heavy_Duty_Guard_-_Streamline_Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Bathroom_Lighting.jpg Heavy Duty Guard (Displayed Here: Streamline Industrial Guard Sconce, 311-Jadite PTMP, No Shade, Heavy Duty Guard, FST-Frosted Glass | Photo Courtesy of Sarah C Designs) 4016 6016 69280
57048 62258 product 0 69281 A 0 C 0 0 Heavy_Duty_Guard_-_Double_Market_Industrial_Guard_Sconce_-_Barn_Light_Electric_-_Bathroom_Vanity_Lighting.jpg Heavy Duty Guard (Displayed Here: Double Market Industrial Guard Sconce, 705-Navy, WS-Warehouse Shade, Clear Glass, TGG-Heavy Duty Cast Guard | Courtesy of The Cards We Drew) 750 514 69281
57049 62258 product 0 69282 A 0 C 0 0 Heavy_Duty_Guard_-_Industrial_Guard_Pendant_-_Barn_Light_Electric_-_Exterior_Pendant_Farmhouse_Lighting.jpg Heavy Duty Guard (Displayed Here: Industrial Guard Pendant Light, 615-Oil-Rubbed Bronze, SBK-Standard Black Cord, WH-Warehouse Shade, TGG-Heavy Duty Cast Guard, CLR-Clear Glass | Photo Courtesy of Between Wind and Water Design) 2960 3891 69282
57050 62258 product 0 69283 A 0 C 0 0 Heavy_Cast_Guard_-_Atomic_Topless_Double_Industrial_Guard_Sconce_-_Barn_Light_Electric_Bathroom_Lighting.png Heavy Duty Guard (Displayed Here: Atomic Topless Double Industrial Guard Sconce, 300-Dark Green, TGG-Heavy Duty Guard | Photo Courtesy of Brian Patrick Flynn) 475 594 69283
57327 62258 product 0 69560 A 0 D 0 0 Heavy-Duty-Guard-Black.jpg Heavy Duty Guard, 100-Black 475 475 69560
60807 61385 product 0 73040 A 0 C 0 0 Rochester_Vintage_Industrial_Gooseneck_Light_-_Barn_Light_Electric_-_Colorful_Watermelon_Farmhouse_Interior_Gooseneck_Wall_Sconce_Lighting_x4mn-br.jpg G34 Gooseneck Arm (Displayed Here: 14” Rochester, 470-Watermelon, CLR-Clear Glass, G34 Gooseneck Arm in 100-Black, CGG-Standard Cast Guard in 100-Black | Photo Courtesy of Customer) 1500 1125 73040
61193 60732 product 0 73426 A 0 D 0 0 The_Original™_Warehouse_Gooseneck_Light_-_Barn_Light_Electric_-_G4_Gooseneck_Arm.jpg G4 Gooseneck Arm (Displayed here: 12" The Original™, 997-Natural Raw Brass, G4 Gooseneck Arm, 975-Galvanized) 1000 1000 73426
62334 60737 product 0 74567 A 0 D 0 0 G9-100-Black-gooseneck.jpg G9 Gooseneck Arm, 100-Black 1000 1000 74567
62529 65562 product 0 74762 A 0 D 0 0 Newport-975-gavanized-crz-red-white-standard-cord-400-barn-red-chain.jpg Newport Chain Hung Pendant Light, 975-Galvanized, Mounting in 400-Barn Red, CRZ-Red Chevron Cord 1000 1000 74762
63858 65524 product 0 76091 A 0 D 0 0 wilcox-full-build-chain-24in-400-barn-red-100-black.jpg 24" Wilcox, 400-Barn Red, Mounting in 100-Black, SBK-Standard Black Cord 1000 1000 76091
63859 65524 product 0 76092 A 0 D 0 0 wilcox-chain-24in-705-navy-975-galvanized-CSGW.jpg 24" Wilcox, 705-Navy, Mounting in 975-Galvanized, CSGW-Gold & White Cloth Cord 1000 1000 76092
63860 65524 product 0 76093 A 0 D 0 0 wilcox-chain-24in-490-magenta-CSBW.jpg 24" Wilcox, 490-Magenta, CSBW-Black & White Cloth Cord 1000 1000 76093
63874 65522 product 0 76107 A 0 D 0 0 Wilcox-stem-24in-705-navy.jpg 24" Wilcox, 705-Navy 1000 1000 76107
63875 65522 product 0 76108 A 0 D 0 0 Wilcox-stem-24in-307-Emerald-Green-975-galvanized.jpg 24" Wilcox, 307-Emerald Green, Mounting in 975-Galvanized, Hang Straight Canopy 1000 1000 76108
63876 65522 product 0 76109 A 0 D 0 0 Wilcox-stem-24in-100-black-HDC.jpg 24" Wilcox, 100-Black, Heavy Duty Stem Mount Canopy 1000 1000 76109
64270 65584 product 0 76503 A 0 D 0 0 30in-Ellington-Studio-Cable-100-black-975-galvanized-CSBW_hvmc-s1.jpg Ellington 30" Pendant, 100-Black, Cup in 975-Galvanized, CSBW-Black & White Cloth Cord, Shown with 40W G40 Bulb 1000 1000 76503
70456 64621 product 0 82689 A 0 D 0 0 LED-bulbs-Globe-Clear-600-Lumens-2500K-off-Tala.jpg Globe LED Tala Lamp, Clear - Off 1000 1000 82689
33633 60733 product 0 45866 A 1 D 0 0 12-in-frontier-705-navy-g5.jpg G5 Gooseneck Arm (Displayed Here: 12" Frontier, 705-Navy, G5 Gooseneck Arm, 980-Brushed Aluminum) 600 600 45866
59779 64621 product 0 72012 A 1 C 0 0 Downtown_Minimalist_5-Light_Chandelier_-_Barn_Light_Electric_-_Blush_Pink_Minimalist_Chandelier_Dining_Room_Lighting.jpg Globe LED Tala Lamp (Displayed here: Downtown Minimalist 5-Light Chandelier, 480-Blush Pink, Globe LED Tala Lamps) 2481 3553 72012
60808 61385 product 0 73041 A 1 C 0 0 Rochester_Vintage_Industrial_Gooseneck_Light_-_Barn_Light_Electric_-_Watermelon_Interior_Gooseneck_Farmhouse_Lighting.jpg G34 Gooseneck Arm (Displayed Here: 14” Rochester, 470-Watermelon, CLR-Clear Glass, G34 Gooseneck Arm in 100-Black, CGG-Standard Cast Guard in 100-Black | Photo Courtesy of Customer) 1500 1111 73041
60876 64942 product 0 73109 A 1 D 0 0 schoolhouse-globe-flush-opaque-stripe-none-chartreuse.jpg Round Schoolhouse Flush Mount, Opaque Glass with No Painted Band 1000 1000 73109
61732 60732 product 0 73965 A 1 C 0 0 The_Original™_LED_Gooseneck_Light_-_Barn_Light_Electric_-_Raw_Copper.jpg G4 Gooseneck Arm (Displayed Here: 14” Original™ LED, 995-Raw Copper, G4 Gooseneck Arm) 1000 1000 73965
62335 60737 product 0 74568 A 1 D 0 0 G9-200-white-gooseneck-.jpg G9 Gooseneck Arm, 200-White 1000 1000 74568
62530 65562 product 0 74763 A 1 D 0 0 newport-715-delphite-white-standard-cord-chain.-full-build.jpg Newport Chain Hung Pendant Light, 715-Delphite Blue, SWH-Standard White Cord 1000 1000 74763
64271 65584 product 0 76504 A 1 D 0 0 230in-Ellington-Studio-Cable-480-Blush-Pink-CSBP_2bx6-w6.jpg Ellington 30" Pendant, 480-Blush Pink, CSBP-Black & Pink Cloth Cord 1000 1000 76504
33632 60733 product 0 45865 A 2 C 0 0 frontier_angle_shade_10in_textured_black_g5arm.jpg G5 Gooseneck Arm (Displayed Here: 10" Frontier, 105-Textured Black, G5 Gooseneck Arm | Courtesy of RE/MAX Eastern Realty, Inc.) 699 1078 45865
33722 61385 product 0 45955 A 2 C 0 0 porcelain_enamel_gooseneck_lighting.jpg G34 Gooseneck Arm (Displayed Here: (3) 16" The Original™, 150-Porcelain Black, G34 Gooseneck Arms | Photo Courtesy of Homeowner) 1067 711 45955
57220 60733 product 0 69453 A 2 C 0 0 Fire_Chief_Sign_Lights_-_Barn_Light_Electric_-_Commercial_Lighting.jpg G5 Gooseneck Arm (Displayed Here: 8” Fire Chief Sign Lights, 100-Black, G5 Gooseneck Arm) 1030 1264 69453
57279 60732 product 0 69512 A 2 C 0 0 Wilcox_Gooseneck_Light_-_Barn_Light_Electric_-_Exterior_Porch_Lighting.png G4 Gooseneck Arm (Displayed Here: 8” Wilcox Gooseneck, 100-Black, G4 Gooseneck Arms) 768 512 69512
59784 64621 product 0 72017 A 2 C 0 0 Kao-Wall-Sconce-Black-Tala-Bulb-6W-2500k-Globe2.jpg Globe LED Tala Lamp (Displayed here: Kao Wall Sconce, 100-Black | Shown with Globe Tala Lamp) 1000 1000 72017
60877 64942 product 0 73110 A 2 D 0 0 schoolhouse-globe-cord-clear-stripe-PB10-galvanized-jadite-cord-cloth-black-bulb-round.jpg Round Schoolhouse Pendant, Clear Glass with Two Painted Band in 311-Jadite 1000 1000 73110
62336 60737 product 0 74569 A 2 D 0 0 G9-400-barn-red-gooseneck-.jpg G9 Gooseneck Arm, 400-Barn Red 1000 1000 74569
62532 65562 product 0 74765 A 2 D 0 0 Newport-100-black-csb-cloth-black-cord-chain.jpg Newport Chain Hung Pendant, 100-Black, CSB-Black Cloth Cord 1000 1000 74765
64272 65584 product 0 76505 A 2 D 0 0 30in-Ellington-Studio-Cable-FULL-BUILD-200-white-997-raw-brass-CSGW_g8wf-1w_r8mb-gy.jpg Ellington 30" Pendant, 200-White, Cup in 997-Natural Raw Brass, CSGW-Gold & White Cloth Cord, Shown with Enno LED Tala Lamp 1000 1000 76505
68748 60733 product 0 80981 A 2 C 0 0 image0-commercial-exterior-lighting-storefront-Fire-Chief-LED-Sign-Light-12in-390-Teal-G5arm-Domed-Lens_7y2h-7j.jpeg G5 Gooseneck Arm (12" Fire Chief LED Sign Light, 390-Teal, Domed Lens) | Photo Courtesy of Googans Gallery 3024 4032 80981
74003 64621 product 0 86236 A 2 D 0 0 LED-bulbs-Globe-Matte-White-500-Lumens-2500K-off-Tala.jpg Globe LED Tala Lamp, Matte White - Off 1000 1000 86236
74004 64621 product 0 86237 A 2 D 0 0 LED-bulbs-Globe-Matte-White-500-Lumens-2500K-on-Tala.jpg Globe LED Tala Lamp, Matte White - On 1000 1000 86237
55877 61385 product 0 68110 A 3 C 0 0 Raili_Clasen_-_Original_Warehouse_Gooseneck_Light_-_Barn_Light_Electric.jpeg G34 Gooseneck Arm (Displayed Here: 18” Original™ Warehouse Gooseneck Light, 995-Natural Raw Copper, G34 Gooseneck Arm | Photo Courtesy of Raili CA Interior Design) 1500 2250 68110
56124 60737 product 0 68357 A 3 C 0 0 G9_gooseneck_arm_-_Barn_Light_Electric_-_Commercial_Restaurant_Gooseneck_Lighting_-_Original_Warehouse_Gooseneck_LightJPG.JPG G9 Gooseneck Arm (Displayed Here: 14” The Original™, 105-Textured Black, G9 Gooseneck Arm | Photo Courtesy of SMA Design and Pinnacle Commercial Interiors) 740 849 68357
60879 64942 product 0 73112 A 3 D 0 0 schoolhouse-globe-gooseneck-opaque-stripe-PB11-G26-barn-red.jpg Round Schoolhouse Gooseneck Light, Opaque Glass with Three Painted Band in 400-Barn Red 1000 1000 73112
62531 65562 product 0 74764 A 3 D 0 0 Newport-200-white-swh-white-cord-chain.jpg Newport Chain Hung Pendant Light, 200-White, SWH-Standard White Cord 1000 1000 74764
64275 65584 product 0 76508 A 3 D 0 0 30in-Ellington-Studio-Cable-400-barn-red-CRZ_tt1r-1t.jpg Ellington 30" Pendant, 400-Barn Red, CRZ-Red Chevron Cord, Shown with Porcelain III LED Tala Lamp 1000 1000 76508
33726 61385 product 0 45959 A 4 C 0 0 skylark_gooseneck_10in_200_white_G34arm_brass_backing_platehex2.jpg G34 Gooseneck Arm (Displayed Here: 10" Sinclair, 200-White, G34 Gooseneck Arm, Brass Backing Plate & Hex Cover | Photo Courtesy of Taylor Newton Photography) 1500 1000 45959
56125 60737 product 0 68358 A 4 C 0 0 G9_gooseneck_arm_-_Barn_Light_ELectric_-_Original_Warehouse_Gooseneck_Light_-_Commercial_Restaurant_Interior_Lighting.jpg G9 Gooseneck Arm (Displayed Here: 14” The Original™, 105-Textured Black, G9 Gooseneck Arm | Photo Courtesy of SMA Design and Pinnacle Commercial Interiors) 841 609 68358
60878 64942 product 0 73111 A 4 D 0 0 schoolhouse-globe-stem-clear-stripe-PB12-brass-raw-black-bulb-chrome.jpg Round Schoolhouse Stem Mount Pendant, Clear Glass with Four Painted Band in 100-Black 1000 1000 73111
62533 65562 product 0 74766 A 4 D 0 0 Newport-480-blush-pink-csw-white-cord-975-galvanized-chain.jpg Newport Chain Hung Pendant Light, 480-Blush Pink, Mounting in 975-Galvanized, CSW-White Cloth Cord 1000 1000 74766
64274 65584 product 0 76507 A 4 D 0 0 30in-Ellington-Studio-Cable-200-white-995-raw-copper-CSW_fol0-pb.jpg Ellington 30" Pendant, 200-White, Cup in 995-Natural Raw Copper, CSW-White Cloth Cord, Shown with Nostalgic Edison-Style 1910 Era Bulb 1000 1000 76507
55878 61385 product 0 68111 A 5 C 0 0 Raili_Clasen_-_Original_Warehouse_Gooseneck_Light_-_Barn_Light_Electric2.jpeg G34 Gooseneck Arm (Displayed Here: 18” Original™ Warehouse Gooseneck Light, 995-Natural Raw Copper, G34 Gooseneck Arm | Photo Courtesy of Raili CA Interior Design) 1500 2250 68111
62766 65562 product 0 74999 A 5 C 0 0 Commercial-Interior-Corporate-Break-Area-Lounge-Newport-500-buttery-yellow-csb-cloth-black-cord-chain-dan-gold.jpg Newport Chain Hung Pendant Light, 500-Buttery Yellow, CSB-Black Cloth Cord 1500 1500 74999
64268 65584 product 0 76501 A 5 D 0 0 30in-Ellington-Studio-Cable-705-Navy-CSW.jpg Ellington 30" Pendant, 705-Navy, CSW-White Cloth Cord, Shown with Elva LED Tala Lamp 1000 1000 76501
56067 61385 product 0 68300 A 6 C 0 0 gooseneck_lighting_exterior_lighting_-_Barn_Light_Electric_-_Exterior_Garage_Lighting.jpg G34 Gooseneck Arm (Displayed Here: 10” Conoco Gooseneck Light, 850-Porcelain Graphite, G34 Gooseneck Arm | Photo Courtesy of RTG Construction) 591 685 68300
64273 65584 product 0 76506 A 6 D 0 0 30in-Ellington-Studio-Cable-600-bronze-CSBB.jpg Ellington 30" Pendant, 600-Bronze, CSBB-Black & Brown Cloth Cord, Shown with Totem II LED Tala Lamp 1000 1000 76506
55536 61385 product 0 67769 A 7 C 0 0 Original_Gooseneck_Galvanized_G34.jpg G34 Gooseneck Arm (Displayed Here: 12” The Original™ Warehouse Gooseneck Light, 975-Galvanized, G34 Gooseneck Arm | Photo Courtesy of Homeowner) 1500 1125 67769
64269 65584 product 0 76502 A 7 D 0 0 30in-Ellington-Studio-Cable-100-black-CSBW.jpg Ellington 30" Pendant, 100-Black, CSBG-Black & Gold Cloth Cord, Shown with Voronoi I LED Tala Lamp 1000 1000 76502
68768 65584 product 0 81001 A 8 C 0 0 CP_02685-HDR.jpg 30" Ellington Pendant, 200-White, Standard White Cord | Photography Courtesy of Greg Smith, T.Y.I Construction Photography 4240 2832 81001
64296 65584 product 0 76529 A 9 C 0 0 dining-room-kitchen-30in-ellington-400-barn-red-csb-edison-bulb-megan-mccrea-alt.jpg Ellington 30" Pendant, 400-Barn Red, CSB-Black Cloth Cord 1500 1002 76529
64297 65584 product 0 76530 A 10 C 0 0 ellington-30in-700-royal-blue-csgw-edison-bulb-alt.jpg Ellington 30" Pendant, 700-Royal Blue, CSGW-Gold & White Cloth Cord 1500 900 76530