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 = 'kk' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    51346, 118, 51194, 51193, 51192, 51191, 
    51190, 51189, 19, 13, 61, 15, 95, 51347, 
    85, 9, 51211, 51210, 111, 51212, 144, 
    51215, 51214, 51213, 51444, 51445, 
    51446, 51447, 59, 51272, 51271, 51270, 
    51269, 51268, 51267, 51266, 145, 60
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00365

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "117.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "50.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": 50,
            "rows_produced_per_join": 50,
            "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 (51346,118,51194,51193,51192,51191,51190,51189,19,13,61,15,95,51347,85,9,51211,51210,111,51212,144,51215,51214,51213,51444,51445,51446,51447,59,51272,51271,51270,51269,51268,51267,51266,145,60)))",
            "cost_info": {
              "read_cost": "27.01",
              "eval_cost": "5.00",
              "prefix_cost": "32.01",
              "data_read_per_join": "4K"
            },
            "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": 50,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "12.50",
              "eval_cost": "5.00",
              "prefix_cost": "49.51",
              "data_read_per_join": "38K"
            },
            "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": 50,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "12.50",
              "eval_cost": "5.00",
              "prefix_cost": "67.01",
              "data_read_per_join": "29K"
            },
            "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 kepka_uchur_active_cv_navy_227_kepkauchuractivecvnavy.png 1000 1400 N N 227 9 product 8825 M 0 8825
0 kepka_uchur_embossed_logo_cv_black_238_kepkauchurembossedlogocvblack.png 1000 1400 N N 238 59 product 8836 M 0 8836
0 kepka_uchur_embossed_logo_cv_grey_243_kepkauchurembossedlogocvgrey.png 1000 1400 N N 243 60 product 8841 M 0 8841
0 kepka_uchur_logo_cv_olive_277_kepkauchurlogocvolive.png 1000 1400 N N 277 13 product 8875 M 0 8875
0 kepka_uchur_mid_cap_cv_taas_304_kepkauchurmidcapcvtaas.png 1000 1400 N N 304 15 product 8902 M 0 8902
0 kepka_uchur_raptor_camo_mesh_cv_black_313_kepkauchurraptorcamomeshcvblack.png 1000 1400 N N 313 61 product 8911 M 0 8911
0 kepka_uchur_rubber_patch_cv_bezhevyy_s_setkoy_62_1868_kepkauchurrubberpatchcvbezhevyyssetkoy.png 1000 1400 N N 340 118 product 8938 M 0 8938
0 noski_uchur_active_cv_chernyy_seryy_r_40_43_1572_noskiuchuractivecvchernyyseryy.png 1000 1400 N N 582 85 product 9180 M 0 9180
0 snud_uchur_cv_taas_693_snuduchurcvtaas.jpg 880 1232 N N 693 95 product 9291 M 0 9291
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 1071 19 product 9669 M 0 9669
0 56_xxi3-0i.png 1000 1400 N N 2203 111 product 9872 M 0 9872
0 Group_1222.png 1000 1400 N N 5387 145 product 10585 M 0 10585
0 Group_1223.png 1000 1400 N N 5395 144 product 10586 M 0 10586
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 6798 51189 product 9669 M 0 9669
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 6803 51190 product 9669 M 0 9669
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 6808 51191 product 9669 M 0 9669
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 6813 51192 product 9669 M 0 9669
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 6818 51193 product 9669 M 0 9669
0 shtany_uchur_all_weather_pants_lite_cv_saas_34x30_ru_1318_shtanyuchurallweatherpantslitecvsaas.png 1000 1400 N N 6823 51194 product 9669 M 0 9669
0 56_xxi3-0i.png 1000 1400 N N 6930 51210 product 9872 M 0 9872
0 56_xxi3-0i.png 1000 1400 N N 6937 51211 product 9872 M 0 9872
0 56_xxi3-0i.png 1000 1400 N N 6944 51212 product 9872 M 0 9872
0 Group_1223.png 1000 1400 N N 6947 51213 product 10586 M 0 10586
0 Group_1223.png 1000 1400 N N 6950 51214 product 10586 M 0 10586
0 Group_1223.png 1000 1400 N N 6953 51215 product 10586 M 0 10586
0 Group_1222.png 1000 1400 N N 7450 51266 product 10585 M 0 10585
0 Group_1222.png 1000 1400 N N 7463 51267 product 10585 M 0 10585
0 Group_1222.png 1000 1400 N N 7476 51268 product 10585 M 0 10585
0 Group_1222.png 1000 1400 N N 7489 51269 product 10585 M 0 10585
0 Group_1222.png 1000 1400 N N 7502 51270 product 10585 M 0 10585
0 Group_1222.png 1000 1400 N N 7515 51271 product 10585 M 0 10585
0 Group_1222.png 1000 1400 N N 7528 51272 product 10585 M 0 10585
0 kepka_uchur_rubber_patch_cv_bezhevyy_s_setkoy_62_1868_kepkauchurrubberpatchcvbezhevyyssetkoy.png 1000 1400 N N 8910 51346 product 8938 M 0 8938
0 noski_uchur_active_cv_chernyy_seryy_r_40_43_1572_noskiuchuractivecvchernyyseryy.png 1000 1400 N N 8915 51347 product 9180 M 0 9180
0 Group_1223.png 1000 1400 N N 10092 51444 product 10586 M 0 10586
0 Group_1223.png 1000 1400 N N 10095 51445 product 10586 M 0 10586
0 Group_1223.png 1000 1400 N N 10098 51446 product 10586 M 0 10586
0 Group_1223.png 1000 1400 N N 10101 51447 product 10586 M 0 10586