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 = 'M' 
  AND cscart_images_links.object_id IN (
    2407, 1519, 2393, 1768, 1518, 2411, 2303, 
    1769, 2391, 2597, 2403, 2409
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00077

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": 12,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (2407,1519,2393,1768,1518,2411,2303,1769,2391,2597,2403,2409)"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "4",
      "used_key_parts": ["image_id"],
      "ref": ["noframes_kz_new.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": ["noframes_kz_new.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 rf_original pair_id object_id object_type detailed_id type position alt images_image_id
0 antique_160х230_crop_2jg2-fr.jpg 1340 890 N antique_160х230_crop_2jg2-fr.jpg 10683 1768 product 8890 M 0 8890
0 DSC_3439-fotor-20240818161040_mhxx-dw.jpg 1340 787 N DSC_3439-fotor-20240818161040_mhxx-dw.jpg 10739 1519 product 8946 M 0 8946
0 florense_200x300_crop_3ibl-68.jpg 1340 890 N florense_200x300_crop_3ibl-68.jpg 10785 2597 product 8992 M 0 8992
0 IMG_20240818_224234_jor0-gk.jpg 1340 810 N IMG_20240818_224234_jor0-gk.jpg 10807 1769 product 9014 M 0 9014
0 OSCAR-1_crop_f6ri-tl.jpg 1340 890 N OSCAR-1_crop_f6ri-tl.jpg 10836 1518 product 9043 M 0 9043
0 DSC_4044-fotor-20240802142436_j425-ze.jpg 1340 868 N DSC_4044-fotor-20240802142436_j425-ze.jpg 10854 2303 product 9061 M 0 9061
0 Botanicа_plch-0x.jpg 1340 875 N Botanicа_plch-0x.jpg 10904 2411 product 9111 M 0 9111
0 Ecotouch_0.jpg 1340 896 N Ecotouch_0.jpg 10908 2391 product 9115 M 0 9115
0 Grigio_crop_4no0-1p.jpg 1340 890 N Grigio_crop_4no0-1p.jpg 10939 2393 product 9146 M 0 9146
0 IMG_20240818_231603_crop.jpg 1340 890 N IMG_20240818_231603_crop.jpg 10971 2407 product 9178 M 0 9178
0 ZEBRA--7_rw0p-lp.jpg 1340 890 N ZEBRA--7_rw0p-lp.jpg 11002 2409 product 9209 M 0 9209
0 SUMATRA_SOFT_MIX1_crop.jpg 1340 890 N SUMATRA_SOFT_MIX1_crop.jpg 11024 2403 product 9231 M 5 9231
0 111_tk4w-ow_tzs2-gg.png 5256 3433 N 111_tk4w-ow.png 8822 2411 product 7032 M 25 7032