SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  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 = 'ru' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN (
    '517', '501', '317', '231', '313', '515'
  ) 
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": 14,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'A' and cscart_images_links.object_id in ('517','501','317','231','313','515')"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "4",
      "used_key_parts": ["image_id"],
      "ref": ["orbit_cscart_orbit_cscart.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": ["orbit_cscart_orbit_cscart.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 = 'ru' and trigcond(cscart_images.image_id is not null))"
    }
  }
}

Result

image_id image_path image_x image_y is_high_res pair_id object_id object_type detailed_id type position alt images_image_id
0 Сохраненное_изображение_2022-2-16_15-16-41.169_4olv-qz.jpg 589 615 N 4367 501 product 24254 A 0 24254
0 Orbit_relax_back.jpg 3013 1910 N 4457 515 product 24344 A 0 24344
0 Одеяло_tu6m-rw.jpg 812 778 N 4550 231 product 24437 A 0 24437
0 microfiber-vs-cotton-v-razreze.png 513 600 N 3318 231 product 1523 A 1 1523
0 Слайд16.JPG 960 720 N 3654 317 product 1865 A 1 1865
0 Orbit_relax_cover.jpg 3626 2598 N 4456 515 product 24343 A 1 24343
0 IMG_1928s_s.jpg 4447 2965 N 4477 517 product 24364 A 1 24364
0 design-odeyal.jpg 600 399 N 3317 231 product 1522 A 2 1522
0 магн_подуш_48rw-lm.jpg 787 598 N 3740 317 product 1951 A 2 1951
0 Сохраненное_изображение_2022-2-16_15-16-21.625_g182-2i.jpg 591 201 N 4368 501 product 24255 A 2 24255
0 магн_подуш2_xibc-u9.jpg 754 655 N 3741 317 product 1952 A 3 1952
0 Сохраненное_изображение_2022-2-16_15-15-59.210_rthq-j0.jpg 606 264 N 4369 501 product 24256 A 4 24256
0 Одеяло2_qcmd-kp.jpg 817 560 N 4551 231 product 24438 A 4 24438
0 Topper1.jpg 3476 2317 N 4396 313 product 24283 A 5 24283
0 Сохраненное_изображение_2022-2-16_15-15-38.952_6h9s-m1.jpg 429 196 N 4370 501 product 24257 A 6 24257
0 Topper5.jpg 3476 2317 N 4398 313 product 24285 A 9 24285
0 Topper4.jpg 3476 2317 N 4399 313 product 24286 A 10 24286