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 (
    64625, 64624, 64616, 64617, 64615, 64614, 
    64622, 64623, 64626, 64621, 64620, 
    65851, 65870, 65875, 65853, 65864, 
    65877, 65874, 65863, 65869, 65868, 
    65862, 65850, 65880
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00114

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": 51,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (64625,64624,64616,64617,64615,64614,64622,64623,64626,64621,64620,65851,65870,65875,65853,65864,65877,65874,65863,65869,65868,65862,65850,65880)"
        }
      }
    },
    "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
59034 64616 product 0 71267 A 0 D 0 0 Timber-Ore-Downtown-Minimalist-5-Light-Linear-Pendant-Ash-Oil-Rubbed-Bronze-Brown-Beige-Chevron-Twist-Cord-Enno-Tala-Bulb.jpg Enno LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket 5-Light Pendant, 615-Oil-Rubbed Bronze, Ash Wood, TBB-Brown & Beige Chevron Twist Cord, Shown with Enno Tala Lamps) 1000 1000 71267
70145 65850 product 0 82378 A 0 D 0 0 LED-bulbs-ST19-Clear-Spiral-250-Lumens-2100K-off-GreenCreative.jpg LED Clear ST19 250 Lumen Bulb - Off 1000 1000 82378
70146 65851 product 0 82379 A 0 D 0 0 LED-bulbs-ST19-Amber-Spiral-250-Lumens-2000K-off-GreenCreative.jpg LED Amber ST19 250 Lumen Bulb - Off 1000 1000 82379
70150 65853 product 0 82383 A 0 D 0 0 LED-bulbs-G40-Clear-Spiral-250-Lumens-2100K-off-GreenCreative.jpg LED Clear G40 250 Lumen Bulb - Off 1000 1000 82383
70169 65862 product 0 82402 A 0 D 0 0 LED-bulbs-Ribbed-Clear-Edison-500-Lumens-2000K-off-GreenCreative.jpg LED Ribbed R32 500 Lumen Bulb - Off 1000 1000 82402
70171 65863 product 0 82404 A 0 D 0 0 LED-bulbs-Crystal-Clear-Edison-500-Lumens-2000K-off-GreenCreative.jpg LED Crystal Clear C35 500 Lumen Bulb - Off 1000 1000 82404
70173 65864 product 0 82406 A 0 D 0 0 LED-bulbs-T10-Amber-Helix-450-Lumens-2000K-off-GreenCreative.jpg LED Amber T10 450 Lumen Bulb - Off 1000 1000 82406
70181 65868 product 0 82414 A 0 D 0 0 LED-bulbs-G25-Chrome-Edison-400-Lumens-2700K-off-GreenCreative.jpg LED Silver Bowl G25 400 Lumen Bulb - Off 1000 1000 82414
70183 65869 product 0 82416 A 0 D 0 0 LED-bulbs-G25-Clear-Edison-400-Lumens-2700K-off-GreenCreative.jpg LED Clear G25 350 Lumen Bulb - Off 1000 1000 82416
70185 65870 product 0 82418 A 0 D 0 0 LED-bulbs-G40-Clear-Edison-500-Lumens-2700K-off-GreenCreative.jpg LED Clear G40 500 Lumen Bulb - Off 1000 1000 82418
70295 65874 product 0 82528 A 0 D 0 0 LED-bulbs-B11-Clear-200-Lumens-2700K-off-GreenCreative.jpg LED Clear B11 200 Lumen Bulb - Off 1000 1000 82528
70297 65875 product 0 82530 A 0 D 0 0 LED-bulbs-B11-White-300-Lumens-2700K-off-GreenCreative.jpg LED Frosted B11 300 Lumen Bulb - Off 1000 1000 82530
70301 65877 product 0 82534 A 0 D 0 0 LED-bulbs-B11-Clear-Edison-500-Lumens-2700K-off-GreenCreative.jpg LED Clear B11 500 Lumen Bulb - E26 Base - Off 1000 1000 82534
70307 65880 product 0 82540 A 0 D 0 0 LED-bulbs-A19-Half-Chrome-Edison-700-Lumens-2700K-off-GreenCreative.jpg LED Silver Bowl A19 700 Lumen Bulb - Off 1000 1000 82540
70446 64615 product 0 82679 A 0 D 0 0 LED-bulbs-Voroni-II-Amber-Spiral-150-Lumens-2200K-off-Tala.jpg Voronai II LED Tala Lamp - Off 1000 1000 82679
70447 64614 product 0 82680 A 0 D 0 0 LED-bulbs-Voroni-I-Amber-Spiral-100-Lumens-2200K-off-Tala.jpg Voronoi I LED Tala Lamp - Off 1000 1000 82680
70448 64616 product 0 82681 A 0 D 0 0 LED-bulbs-Enno-Porcelain-540-Lumens-2700K-off-Tala.jpg Enno LED Tala Lamp - Off 1000 1000 82681
70449 64617 product 0 82682 A 0 D 0 0 LED-bulbs-Oblo-Porcelain-540-Lumens-2700K-off-Tala.jpg Oblo LED Tala Lamp - Off 1000 1000 82682
70450 64622 product 0 82683 A 0 D 0 0 LED-bulbs-Oval-Porcelain-540-Lumens-2700K-off-Tala.jpg Oval LED Tala Lamp - Off 1000 1000 82683
70451 64623 product 0 82684 A 0 D 0 0 LED-bulbs-Noma-Porcelain-540-Lumens-2700K-off-Tala.jpg Noma LED Tala Lamp - Off 1000 1000 82684
70452 64625 product 0 82685 A 0 D 0 0 LED-bulbs-G40-Porcelain-III-540-Lumens-2700K-off-Tala.jpg Porcelain III LED Tala Lamp - Off 1000 1000 82685
70453 64624 product 0 82686 A 0 D 0 0 LED-bulbs-G25-Porcelain-II-540-Lumens-2700K-off-Tala.jpg Porcelain II LED Tala Lamp - Off 1000 1000 82686
70454 64620 product 0 82687 A 0 D 0 0 LED-bulbs-G30-Elva-Amber-XX-420-Lumens-2200K-off-Tala.jpg Elva LED Tala Lamp - Off 1000 1000 82687
70455 64626 product 0 82688 A 0 D 0 0 LED-bulbs-T12-Amber-XX-210-Lumens-2200K-off-Tala.jpg Lurra LED Tala Lamp - Off 1000 1000 82688
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
32576 64623 product 0 44809 A 1 D 0 0 NOMA-6W-2700K-E27-MP_DETAIL.jpg Noma LED Tala Lamp 3433 3433 44809
32577 64622 product 0 44810 A 1 D 0 0 OVAL-6W-2700K-E27-MP_DETAIL.jpg Oval LED Tala Lamp 3215 3214 44810
32578 64617 product 0 44811 A 1 D 0 0 OBLO-6W-2700K-E27-MP_DETAIL.jpg Oblo LED Tala Lamp 3314 3317 44811
59014 64615 product 0 71247 A 1 C 0 0 Downtown_Minimalist_Cord_Pendant_-_Voronoi_II_LED_Tala_Lamp_-_Barn_Light_Electric_-_Restaurant_Bar_Lighting.jpg Voronoi II LED Tala Lamp (Displayed Here: Downtown Minimalist Cord Pendant, 705-Navy, CSGW-Gold & White Cloth Cord, Ceiling Canopy in 705-Navy, Voronoi II LED Tala Lamp Bulbs | Photo Courtesy of IQ Designs) 3250 2169 71247
59017 64614 product 0 71250 A 1 D 0 0 Timber-Ore-Downtown-Minimalist-Wooden-Socket-Sconce-Oak-Brass-Voronoi-I-Tala-Bulb.jpg Voronoi I LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket Sconce, 997-Natural Raw Brass, Oak Wood, Shown with Voronoi I Tala Lamp) 600 600 71250
59024 64620 product 0 71257 A 1 D 0 0 Downtown-Minimalist-Adjustable-Sconce-Black-6W-2200k-Elva-Tala-Bulb4.jpg Elva LED Tala Lamp (Displayed here: Downtown Minimalist Adjustable Sconce, 100-Black, Elva Tala Bulb) 1000 1000 71257
59027 64624 product 0 71260 A 1 D 0 0 Timber-Ore-Ventura-Wooden-Shade-Ash-Black-White-Cord-Porcelain-II-Tala-Bulb-Lit.jpg Porcelain II LED Tala Lamp (Displayed here: Ventura Wooden Shade Pendant, Ash Wood, Nickel Socket, TBR-Brown Twist Cord, Shown with Porcelain II Tala Lamp - Lit) 1000 1000 71260
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
59015 64615 product 0 71248 A 2 C 0 0 Downtown_Minimalist_Cord_Pendant_and_Voronoi_II_LED_Tala_Lamp_-_Barn_Light_Electric_-_Barn_Lighting.jpg Voronoi II LED Tala Lamp (Displayed Here: Downtown Minimalist Cord Pendant, 705-Navy, CSGW-Gold & White Cloth Cord, Ceiling Canopy in 705-Navy, Voronoi II LED Tala Lamp Bulbs | Photo Courtesy of IQ Designs) 3250 2169 71248
59020 64617 product 0 71253 A 2 D 0 0 Downtown-Swing-Arm-Sconce-Black-Tala-Bulb-6W-2700k-Oblo.jpg Oblo LED Tala Lamp (Displayed here: The Downtown Swing Arm Sconce, 100-Black, G69 Arm, Oblo Tala Lamp) 1000 1000 71253
59021 64623 product 0 71254 A 2 D 0 0 Downtown-Swing-Arm-Sconce-Delphite-Tala-Bulb-6W-2700k-Noma.jpg Noma LED Tala Lamp (Displayed here: Downtown Swing Arm Sconce, 715-Delphite Blue PTMP, G69 Arm | Shown with Noma Tala Lamp) 1000 1000 71254
59029 64620 product 0 71262 A 2 D 0 0 Downtown-Minimalist-Wooden-Socket-Multi-5-Light-Pendant-Oak-Black-Elva-Tala-Bulb.jpg Elva LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket 5-Light Pendant, 100-Black, Oak Wood, SBK-Standard Black Cord, Shown with Elva Tala Lamps) 1000 1000 71262
59031 64624 product 0 71264 A 2 D 0 0 Downtown-Minimalist-Wooden-Socket-Multi-3-Light-Pendant-Walnut-Navy-Porcelain-II-Tala-Bulb.jpg Porcelain II LED Tala Lamp (Displayed here: Downtown Minimalist Wood Socket 3-Light Pendant, 705-Navy, Walnut Wood, SBK-Standard Black Cord, Shown with Porcelain II Tala Lamps) 1000 1000 71264
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
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
59016 64615 product 0 71249 A 3 C 0 0 Downtown_Minimalist_Cord_Pendant_Light_with_Voronoi_II_LED_Tala_Lamp_-_Barn_Light_Electric_-_Modern_Pendant_Lighting.jpg Voronoi II LED Tala Lamp (Displayed Here: Downtown Minimalist Cord Pendant, 995-Natural Raw Copper, CSB-Black Cloth Cord, Voronoi II Tala Lamp) 1000 1000 71249
59022 64617 product 0 71255 A 3 C 0 0 Downtown_Swing_Arm_Sconce_-_Barn_Light_Electric_-_Modern_Bedside_Lighting.jpg Oblo LED Tala Lamp (Displayed here: Downtown Swing Arm Sconce, 105-Textured Black, G67 Arm | Photo Courtesy of Tosnflies Photography) 1777 1699 71255
59026 64623 product 0 71259 A 3 D 0 0 0-Timber-Ore-Downtown-Minimalist-Swing-Arm-Sconce-Walnut-Emerald-Green-Noma-Tala-Bulb.jpg Noms LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket Swing Arm Sconce, 370-Emerald Green, G68 Arm, Walnut Wood, Shown with Noma Tala Lamp) 1000 1000 71259
59033 64620 product 0 71266 A 3 D 0 0 Timber-Ore-Downtown-Minimalist-5-Light-Linear-Pendant-Oak-Barn-Red-White-Black-Twist-Cord-Elva-Tala-Bulb.jpg Elva LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket 5-Light Pendant, 400-Barn Red, Oak Wood, TBW-Black & White Twist Cord, Shown with Elva Tala Lamps) 1000 1000 71266
62898 64624 product 0 75131 A 3 C 0 0 image5-residential-interior-mudroom-hallway-lighting-downtown-minimalist-3-light-chandelier-495-sherbet-orange-24in-stem-Porcelain-II-LED-Tala-Lamp.jpeg Porcelain II LED Tala Lamp (Displayed here: Downtown Minimalist 3-Light Chandelier) 1500 2000 75131
59023 64617 product 0 71256 A 4 C 0 0 Downtown_Swing_Arm_Sconce_-_Barn_Light_Electric_-_Modern_Interior_Bedroom_Lighting.jpg Oblo LED Tala Lamp (Displayed here: Downtown Swing Arm Sconce, 105-Textured Black, G67 Arm | Photo Courtesy of Tosnflies Photography) 2023 1430 71256
59030 64615 product 0 71263 A 4 D 0 0 Downtown-Minimalist-Wooden-Socket-Multi-3-Light-Pendant-Maple-Jadite-Voronoi-II-Tala-Bulb.jpg Voronoi II LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket 3-Light Pendant, 311-Jadite, Maple Wood, CSGW-Gold & White Cloth Cord, Shown with Voronoi II Tala Lamps) 1000 1000 71263
59035 64620 product 0 71268 A 4 D 0 0 Timber-Ore-Downtown-Minimalist-3-Light-Linear-Pendant-Ash-Teal-Gold-White-Cord-Elva-Tala-Bulb.jpg Elva LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket 3-Light Pendant, 390-Teal, Ash Wood, CSGW-Gold & White Cloth Cord, Shown with Elva Tala Bulbs) 1000 1000 71268
59032 64615 product 0 71265 A 5 D 0 0 Timber-Ore-Downtown-Minimalist-5-Light-Linear-Pendant-Walnut-Textured-Black-White-Black-Cord-Voronoi-II-Tala-Bulb.jpg Voronoi II LED Tala Lamp (Displayed here: Downtown Minimalist Socket 5-Light Pendant, 105-Textured Black, Walnut Wood, CSBW-Black & White Cloth Cord, Shown with Voronoi II Tala Lamps) 1000 1000 71265
59200 64617 product 0 71433 A 5 C 0 0 Downtown_Minimalist_Wooden_Socket_Swing_Arm_Sconce_-_Barn_Light_Electric_-_Modern_Restaurant_Decor_px13-yu.jpg Oblo LED Tala Lamp (Displayed here: Downtown Minimalist Wooden Socket Swing Arm Sconce, 400-Barn Red, G67 Arm, Ash Wood | Photo Courtesy of Customer) 2228 3120 71433