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 (
    565, 564, 567, 566, 572, 571, 570, 569, 
    568, 578, 579, 580, 581, 582, 583, 584, 
    585, 586, 573, 574, 575, 576, 577
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00155

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "133.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "23.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": 23,
            "rows_produced_per_join": 23,
            "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 (565,564,567,566,572,571,570,569,568,578,579,580,581,582,583,584,585,586,573,574,575,576,577)))",
            "cost_info": {
              "read_cost": "50.61",
              "eval_cost": "4.60",
              "prefix_cost": "55.21",
              "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": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "23.00",
              "eval_cost": "4.60",
              "prefix_cost": "82.81",
              "data_read_per_join": "17K"
            },
            "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": 23,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "23.00",
              "eval_cost": "4.60",
              "prefix_cost": "110.41",
              "data_read_per_join": "13K"
            },
            "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_Maxx_100_Bottom.png 1024 1024 N 6921 568 product 8720 M 0 8720
0 Render_Maxx_100_Bottom_W.png 1024 1024 N 6930 573 product 8725 M 0 8725
0 Render_Maxx_100_Bottom_ywsi-6g.png 1024 1024 N 6939 578 product 8730 M 0 8730
0 Render_Velutto_4_Bottom.png 1024 1024 N 6948 583 product 8735 M 0 8735
0 Render_velluto_4_bottom.png 1024 1024 N 6914 564 product 8716 M 1 8716
0 Render_Maxx_977_Bottom.png 1024 1024 N 6926 569 product 8721 M 1 8721
0 Render_Maxx_965_Bottom.png 1024 1024 N 6927 570 product 8722 M 1 8722
0 Render_Maxx_900_Bottom.png 1024 1024 N 6928 571 product 8723 M 1 8723
0 Render_Maxx_232_Bottom_2.png 1024 1024 N 6929 572 product 8724 M 1 8724
0 Render_Maxx_965_Bottom_ztom-9u.png 1024 1024 N 6935 574 product 8726 M 1 8726
0 Render_Maxx_100_Bottom_n43z-rf.png 1024 1024 N 6936 575 product 8727 M 1 8727
0 Render_Maxx_900_Bottom_xgir-rh.png 1024 1024 N 6937 576 product 8728 M 1 8728
0 Render_Maxx_232_Bottom.png 1024 1024 N 6938 577 product 8729 M 1 8729
0 Render_Maxx_977_Bottom_4bmo-ek.png 1024 1024 N 6944 579 product 8731 M 1 8731
0 Render_Maxx_965_Bottom_6mw7-d3.png 1024 1024 N 6945 580 product 8732 M 1 8732
0 Render_Maxx_900_Bottom_ek0d-8s.png 1024 1024 N 6946 581 product 8733 M 1 8733
0 Render_Maxx_322_Bottom.png 1024 1024 N 6947 582 product 8734 M 1 8734
0 Render_Velutto_26_Bottom.png 1024 1024 N 6952 584 product 8736 M 1 8736
0 Render_Velutto_52_Bottom.png 1024 1024 N 6953 585 product 8737 M 1 8737
0 Render_Velutto_23_Bottom.png 1024 1024 N 6954 586 product 8738 M 1 8738
0 Render_formula_784_bottom.png 1024 1024 N 6918 565 product 8717 M 2 8717
0 Render_California994_Bottom.png 1024 1024 N 6919 566 product 8718 M 2 8718
0 Render_formula_976_bottom_dk66-70.png 1024 1024 N 6920 567 product 8719 M 2 8719