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 (
    818, 817, 816, 815, 812, 811, 806, 805, 
    804, 803, 802, 801, 800, 799, 798, 797, 
    814, 813, 810, 809, 808, 807, 823, 822, 
    826, 825
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00124

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "150.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "26.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": 26,
            "rows_produced_per_join": 26,
            "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 (818,817,816,815,812,811,806,805,804,803,802,801,800,799,798,797,814,813,810,809,808,807,823,822,826,825)))",
            "cost_info": {
              "read_cost": "57.21",
              "eval_cost": "5.20",
              "prefix_cost": "62.41",
              "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": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "26.00",
              "eval_cost": "5.20",
              "prefix_cost": "93.61",
              "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": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "26.00",
              "eval_cost": "5.20",
              "prefix_cost": "124.81",
              "data_read_per_join": "15K"
            },
            "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_White_Bottom_oo2h-j5.png 1024 1024 N 7452 802 product 9101 M 0 9101
0 Render_cLP01_Marbl_Bottom.png 1024 1024 N 7461 807 product 9106 M 0 9106
0 5099_Table_Desk_Cassia_Grey_Bottom.png 1024 1024 N 7468 811 product 9110 M 0 9110
0 Render_G_Bottom.png 1024 1024 N 7471 813 product 9112 M 0 9112
0 Render_White_Bottom_4a4v-ef.png 1024 1024 N 7474 815 product 9114 M 0 9114
0 Rendedr_White_Bottom.png 1024 1024 N 7484 822 product 9121 M 0 9121
0 Render_5751_Table_Cassia_White_Bottom.png 1024 1024 N 7488 825 product 9124 M 0 9124
0 Render_White_Bottom_wo1r-cb.png 1024 1024 N 7447 797 product 9096 M 1 9096
0 Render_Aok_Kan_White_Bottom.png 1024 1024 N 7448 798 product 9097 M 1 9097
0 Render_Aok_Kan_Bottom.png 1024 1024 N 7449 799 product 9098 M 1 9098
0 Render_Aok_Vintag_Bottom.png 1024 1024 N 7450 800 product 9099 M 1 9099
0 Render_Coffee_Bottom.png 1024 1024 N 7451 801 product 9100 M 1 9100
0 Render_Aok_Kan_White_Bottom_s089-vy.png 1024 1024 N 7457 803 product 9102 M 1 9102
0 Render_Aok_Kan_Bottom_4yzo-g7.png 1024 1024 N 7458 804 product 9103 M 1 9103
0 Render_Aok_Vintag_Bottom_qcog-l7.png 1024 1024 N 7459 805 product 9104 M 1 9104
0 Render_Coffee_Bottom_k04s-yo.png 1024 1024 N 7460 806 product 9105 M 1 9105
0 Render_cLP01_Wotan_Bottom.png 1024 1024 N 7465 808 product 9107 M 1 9107
0 Render_cLP01_Birch_Bottom.png 1024 1024 N 7466 809 product 9108 M 1 9108
0 Render_cLP01_Marble_Black_Bottom.png 1024 1024 N 7467 810 product 9109 M 1 9109
0 5099_Table_Desk_Cassia_White_Bottom.png 1024 1024 N 7470 812 product 9111 M 1 9111
0 Render_R_Bottom.png 1024 1024 N 7473 814 product 9113 M 1 9113
0 Render_Grey_Bottom.png 1024 1024 N 7478 816 product 9115 M 1 9115
0 Render_White_Black_Bottom.png 1024 1024 N 7479 817 product 9116 M 1 9116
0 Render_Votan_Bottom.png 1024 1024 N 7480 818 product 9117 M 1 9117
0 Rendedr_Satin_Bottom.png 1024 1024 N 7486 823 product 9122 M 1 9122
0 Render_5751_Table_Cassia_Grey_Bottom.png 1024 1024 N 7490 826 product 9125 M 1 9125