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 (
    65598, 65870, 65875, 65689, 65853, 65864, 
    65877, 65874, 65863, 65869, 65868, 
    65862, 65693, 65850, 65606, 65604, 
    65880, 65852, 65605, 65692, 65600, 
    65855, 65607, 65599
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00123

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": 38,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in (65598,65870,65875,65689,65853,65864,65877,65874,65863,65869,65868,65862,65693,65850,65606,65604,65880,65852,65605,65692,65600,65855,65607,65599)"
        }
      }
    },
    "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
64560 65598 product 0 76793 A 0 D 0 0 f5c12847-eb50-4d9b-99e9-7dabce853542.jpg 20" Fontana Stem Mount Pendant Light 1000 1000 76793
64564 65599 product 0 76797 A 0 D 0 0 8aeccf8b-5cde-4018-aa87-aebd4d3333bf.jpg Alston Wall Sconce, Aged Old Bronze 1000 1000 76797
64568 65600 product 0 76801 A 0 D 0 0 7bd7ae04-f5a2-4d9e-adb2-2b1f334c7444.jpg Camden Wall Sconce, Satin Nickel 800 800 76801
64586 65604 product 0 76819 A 0 D 0 0 e6dc8121-380c-439f-8af5-5c1e03d32a89.jpg Truman Adjustable Wall Sconce, Old Bronze 800 800 76819
64614 65605 product 0 76847 A 0 D 0 0 a83467b4-df5b-4e55-87a6-81247f279784.jpg Maddox Wall Sconce, Aged Brass 800 800 76847
64615 65605 product 0 76848 A 0 D 0 0 e1ea602c-63c0-48f8-a6dd-ec219b7009f0.jpg Maddox Wall Sconce, Aged Old Bronze 800 800 76848
64621 65607 product 0 76854 A 0 D 0 0 89c4da5e-4167-476a-adba-f000bd9196c0.jpg Savannah Wall Sconce, Polished Nickel & Black 1000 1000 76854
67052 65693 product 0 79285 A 0 D 0 0 Aero-basic-cord-12in-300-drk-green-SWH.jpg 12" Aero, 300-Dark Green, SWH-Standard White Cord 1000 1000 79285
67061 65692 product 0 79294 A 0 D 0 0 Aero-basic-stem-12in-100-black-long-stem-HSC.jpg 12" Aero, 100-Black, Hang Straight Canopy, 18" Stem, Hang Straight Canopy 1000 1000 79294
67062 65692 product 0 79295 A 0 D 0 0 Aero-basic-stem-12in-300-dark-green-short-stem.jpg 12" Aero, 300-Dark Green, 12" Stem, Hang Straight Canopy 1000 1000 79295
67063 65692 product 0 79296 A 0 D 0 0 Aero-basic-stem-16in-605-rust-long-stem.jpg 16" Aero, 605-Rust, 18" Stem 1000 1000 79296
67086 65689 product 0 79319 A 0 D 0 0 seaside-basic-stem-16in-300-dark-green-short-stem.jpg 16" Seaside, 300-Dark Green, 12" Stem, Hang Straight Canopy 1000 1000 79319
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
70148 65852 product 0 82381 A 0 D 0 0 LED-bulbs-ST19-Smoky-Spiral-150-Lumens-4000K-off-GreenCreative.jpg LED Smoke ST19 150 Lumen Bulb - Off 1000 1000 82381
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
70154 65855 product 0 82387 A 0 D 0 0 LED-bulbs-A50-Amber-Spiral-300-Lumens-2000K-off-GreenCreative.jpg LED Amber A50 300 Lumen Bulb - Off 1000 1000 82387
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
64571 65600 product 0 76804 A 1 D 0 0 b9656470-2991-45ae-b45f-a43f6329948c.jpg Camden Wall Sconce, Old Bronze 800 800 76804
67055 65693 product 0 79288 A 1 D 0 0 Aero-basic-cord-full-build-16in-200-white-SWH.jpg 16" Aero, 200-White, SWH-Standard White Cord 1000 1000 79288
67087 65689 product 0 79320 A 1 D 0 0 seaside-basic-stem-16in-200-white-long-stem.jpg 16" Seaside, 200-White, 18" Stem 1000 1000 79320
64570 65600 product 0 76803 A 2 D 0 0 a28ddc92-7a74-4226-9893-8fc36de8e33e.jpg Camden Wall Sconce, Polished Nickel 800 800 76803
67054 65693 product 0 79287 A 2 D 0 0 Aero-basic-cord-16in-605-rust-SBK.jpg 16" Aero, 605-Rust, SBK-Standard Black Cord 1000 1000 79287
67085 65689 product 0 79318 A 2 D 0 0 seaside-basic-stem-12in-100-black-long-stem-HSC.jpg 12" Seaside, 100-Black, 18" Stem, Hang Straight Canopy 1000 1000 79318
67259 65689 product 0 79492 A 2 C 0 0 commercial-interior-bar-seaside-stem-pendant-100-black-high-res.jpg 12" Seaside, 100-Black, 12" Stem 1500 2250 79492
67260 65689 product 0 79493 A 2 C 0 0 interior-bar-seaside-stem-pendant-100-black-high-res.jpg 12" Seaside, 100-Black, 12" Stem 1500 2250 79493
67051 65693 product 0 79284 A 3 D 0 0 Aero-basic-cord-12in-100-black-SWH.jpg 12" Aero, 100-Black, SBK-Standard Black Cord 1000 1000 79284
67053 65693 product 0 79286 A 4 D 0 0 Aero-basic-cord-16in-300-dark-green-SBK.jpg 16" Aero, 300-Dark Green, SBK-Standard Black Cord 1000 1000 79286
67261 65693 product 0 79494 A 4 C 0 0 1-Aero-cord-Pendant-Light-16in-100-Black-SBK-standard-black-cord-stables-residential-interior.jpeg 16" Aero, 100-Black, SBK-Standard Black Cord 1500 2000 79494