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 (
    51343, 51342, 51341, 51340, 47, 51326, 
    135, 65, 63, 136, 50984, 51450, 51451, 
    127, 51325, 134, 42, 51376, 51377, 51378, 
    51379, 51380
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00244

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "76.46"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "33.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 33,
            "rows_produced_per_join": 33,
            "filtered": "100.00",
            "index_condition": "((`test_uchur_k`.`cscart_images_links`.`object_type` = 'product') and (`test_uchur_k`.`cscart_images_links`.`type` = 'M') and (`test_uchur_k`.`cscart_images_links`.`object_id` in (51343,51342,51341,51340,47,51326,135,65,63,136,50984,51450,51451,127,51325,134,42,51376,51377,51378,51379,51380)))",
            "cost_info": {
              "read_cost": "17.06",
              "eval_cost": "3.30",
              "prefix_cost": "20.36",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "test_uchur_k.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 33,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.25",
              "eval_cost": "3.30",
              "prefix_cost": "31.91",
              "data_read_per_join": "25K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res",
              "transparent"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "108",
            "ref": [
              "test_uchur_k.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 33,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.25",
              "eval_cost": "3.30",
              "prefix_cost": "43.46",
              "data_read_per_join": "19K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

Result

image_id image_path image_x image_y is_high_res transparent pair_id object_id object_type detailed_id type position alt images_image_id
0 anorak_kamleyka_bulchut_tk_palatka_cv_haki_r_universalnyy_69_anorakkamleykabulchuttkpalatkacvhakiruniversalnyy.png 1000 1400 N N 69 134 product 8670 M 0 8670
0 zhilet_steganyy_bulchut_tk_nylon_taslan_dobby_cv_chernyy_126_zhiletsteganyybulchuttknylontaslandobbycvchernyy.png 1000 1400 N N 126 65 product 8724 M 0 8724
0 k_m_antignus_bulchut_tk_smesovaya_tvil_pich_cv_haki_167_kmantignusbulchuttksmesovayatvilpichcvhaki.png 1000 1400 N N 167 127 product 8765 M 0 8765
0 termobele_bulchut_komplekt_trikotazhnyy_cv_chernyy_tk_fleece_270g_m2_m_831_termobelebulchutkomplekttrikotazhnyycvchernyytkfleece270gm2m.jpg 1000 1400 N N 831 42 product 9429 M 0 9429
0 shapka_bulchut_dvuhstoronnyaya_tk_polar_fleece_cv_haki_oranzhevyy_995_shapkabulchutdvuhstoronnyayatkpolarfleececvhakioranzhevyy.png 1000 1400 N N 995 63 product 9593 M 0 9593
0 kostyum_bulchut_tk_finlyandiya_cv_haki_m_3555_kostyumbulchuttkfinlyandiyacvhakim.png 1000 1400 N N 3555 47 product 10121 M 0 10121
0 k_m_antignus_bulchut_tk_smesovaya_tvil_pich_cv_haki_167_kmantignusbulchuttksmesovayatvilpichcvhaki.png 1000 1400 N N 8514 51325 product 8765 M 0 8765
0 kostyum_bulchut_tk_finlyandiya_cv_haki_m_3555_kostyumbulchuttkfinlyandiyacvhakim.png 1000 1400 N N 8611 51340 product 10121 M 0 10121
0 kostyum_bulchut_tk_finlyandiya_cv_haki_m_3555_kostyumbulchuttkfinlyandiyacvhakim.png 1000 1400 N N 8700 51341 product 10121 M 0 10121
0 kostyum_bulchut_tk_finlyandiya_cv_haki_m_3555_kostyumbulchuttkfinlyandiyacvhakim.png 1000 1400 N N 8789 51342 product 10121 M 0 10121
0 kostyum_bulchut_tk_finlyandiya_cv_haki_m_3555_kostyumbulchuttkfinlyandiyacvhakim.png 1000 1400 N N 8878 51343 product 10121 M 0 10121
0 termobele_bulchut_komplekt_trikotazhnyy_cv_chernyy_tk_fleece_270g_m2_m_831_termobelebulchutkomplekttrikotazhnyycvchernyytkfleece270gm2m.jpg 1000 1400 N N 9139 51376 product 9429 M 0 9429
0 termobele_bulchut_komplekt_trikotazhnyy_cv_chernyy_tk_fleece_270g_m2_m_831_termobelebulchutkomplekttrikotazhnyycvchernyytkfleece270gm2m.jpg 1000 1400 N N 9143 51377 product 9429 M 0 9429
0 termobele_bulchut_komplekt_trikotazhnyy_cv_chernyy_tk_fleece_270g_m2_m_831_termobelebulchutkomplekttrikotazhnyycvchernyytkfleece270gm2m.jpg 1000 1400 N N 9147 51378 product 9429 M 0 9429
0 termobele_bulchut_komplekt_trikotazhnyy_cv_chernyy_tk_fleece_270g_m2_m_831_termobelebulchutkomplekttrikotazhnyycvchernyytkfleece270gm2m.jpg 1000 1400 N N 9151 51379 product 9429 M 0 9429
0 termobele_bulchut_komplekt_trikotazhnyy_cv_chernyy_tk_fleece_270g_m2_m_831_termobelebulchutkomplekttrikotazhnyycvchernyytkfleece270gm2m.jpg 1000 1400 N N 9155 51380 product 9429 M 0 9429
0 67_xjnb-bf.png 1000 1400 N N 9447 50984 product 10639 M 0 10639
0 67_xjnb-bf.png 1000 1400 N N 10138 51450 product 10639 M 0 10639
0 67_xjnb-bf.png 1000 1400 N N 10147 51451 product 10639 M 0 10639
0 5_as5i-1z.png 1000 1400 N N 4202 136 product 10321 M 2 10321
0 50_0u78-kr.png 1000 1400 N N 2461 135 product 9991 M 10 9991
0 50_0u78-kr.png 1000 1400 N N 8522 51326 product 9991 M 10 9991