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 (
    945, 946, 953, 954, 955, 956, 957, 958, 
    623, 624, 962, 963, 964, 960, 961, 965, 
    966, 607, 608, 943, 942, 941, 944, 948, 
    949
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00116

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "145.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "25.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": 25,
            "rows_produced_per_join": 25,
            "filtered": "100.00",
            "index_condition": "((`cscart`.`cscart_images_links`.`object_type` = 'product') and (`cscart`.`cscart_images_links`.`type` = 'M') and (`cscart`.`cscart_images_links`.`object_id` in (945,946,953,954,955,956,957,958,623,624,962,963,964,960,961,965,966,607,608,943,942,941,944,948,949)))",
            "cost_info": {
              "read_cost": "55.01",
              "eval_cost": "5.00",
              "prefix_cost": "60.01",
              "data_read_per_join": "2K"
            },
            "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": [
              "cscart.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 25,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "25.00",
              "eval_cost": "5.00",
              "prefix_cost": "90.01",
              "data_read_per_join": "19K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "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": [
              "cscart.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 25,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "25.00",
              "eval_cost": "5.00",
              "prefix_cost": "120.01",
              "data_read_per_join": "14K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

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 Render_G_Top_dpcp-4c.png 1024 1024 N 6984 607 product 8759 M 0 8759
0 Render_Votan_Bottom.png 1024 1024 N 7007 623 product 8775 M 0 8775
0 Render_Cotton_White_Bottom.png 1024 1024 N 7671 941 product 9242 M 0 9242
0 6869_hinged_shelf_cassia_white_bottom.png 1024 1024 N 7678 945 product 9246 M 0 9246
0 5095_hinged_cupboard_white_bottom.png 1024 1024 N 7682 948 product 9249 M 0 9249
0 Render_White_Bottom_uxeb-kr.png 1024 1024 N 7688 953 product 9254 M 0 9254
0 Render_White_Bottom_j18k-97.png 1024 1024 N 7693 956 product 9257 M 0 9257
0 Render_5083_shelving_unit_white_bottom.png 1024 1024 N 7699 960 product 9261 M 0 9261
0 Render_White_Gold_Bottom.png 1024 1024 N 7702 962 product 9263 M 0 9263
0 Render_White_Bottom_o7ik-fm.png 1024 1024 N 7707 965 product 9266 M 0 9266
0 Render_White_Bottom.png 1024 1024 N 7009 624 product 8776 M 1 8776
0 Render_Cotton_Oak_Bottom.png 1024 1024 N 7675 942 product 9243 M 1 9243
0 Render_Votan_Bottom_lmq8-va.png 1024 1024 N 7676 943 product 9244 M 1 9244
0 Render_Matera_Bottom.png 1024 1024 N 7677 944 product 9245 M 1 9245
0 6869_hinged_shelf_cassia_grey_bottom.png 1024 1024 N 7680 946 product 9247 M 1 9247
0 5095_hinged_cupboard_grey_bottom.png 1024 1024 N 7684 949 product 9250 M 1 9250
0 Render_Votan_Bottom_v1cg-4k.png 1024 1024 N 7691 954 product 9255 M 1 9255
0 Render_Grey_Bottom_54o0-8g.png 1024 1024 N 7692 955 product 9256 M 1 9256
0 Render_Votan_Bottom_g3eg-yu.png 1024 1024 N 7696 957 product 9258 M 1 9258
0 Render_Grey_Bottom_ey0j-88.png 1024 1024 N 7697 958 product 9259 M 1 9259
0 Render_5083_shelving_unit_grey_bottom.png 1024 1024 N 7701 961 product 9262 M 1 9262
0 Render_Oak_Gold_Bottom.png 1024 1024 N 7705 963 product 9264 M 1 9264
0 Render_Oak_Aprel_Bottom.png 1024 1024 N 7706 964 product 9265 M 1 9265
0 Render_Satin_Bottom_tkix-dr.png 1024 1024 N 7709 966 product 9267 M 1 9267
0 Render_R_Top_9yyd-kt.png 1024 1024 N 6986 608 product 8760 M 2 8760