SELECT 
  cscart_images_links.*, 
  cscart_images.image_path, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_x, 
  cscart_images.image_y, 
  cscart_images.image_id as images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.image_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 = 'ro' 
WHERE 
  cscart_images_links.object_type = 'category' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    3288, 23734, 3214, 3211, 3388, 3289, 
    3304, 8095, 3156, 3221, 3195, 7905, 
    8122, 8082, 3302, 7889, 3405, 3161, 
    3160, 3340, 3280, 3250, 3342, 3173, 
    3213, 3413, 3255, 3383, 3175, 3316, 
    3196
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "166.36"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "31.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": 31,
            "rows_produced_per_join": 31,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'category') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (3288,23734,3214,3211,3388,3289,3304,8095,3156,3221,3195,7905,8122,8082,3302,7889,3405,3161,3160,3340,3280,3250,3342,3173,3213,3413,3255,3383,3175,3316,3196)))",
            "cost_info": {
              "read_cost": "64.32",
              "eval_cost": "3.10",
              "prefix_cost": "67.42",
              "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": "3",
            "ref": [
              "maniamall_cscart.cscart_images_links.image_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 31,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "30.94",
              "eval_cost": "3.10",
              "prefix_cost": "101.46",
              "data_read_per_join": "23K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_images), (`maniamall_cscart`.`cscart_images_links`.`image_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        },
        {
          "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": "107",
            "ref": [
              "maniamall_cscart.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 31,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "30.80",
              "eval_cost": "3.10",
              "prefix_cost": "135.36",
              "data_read_per_join": "18K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`maniamall_cscart`.`cscart_common_descriptions`.`object_id` = `maniamall_cscart`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

Result

pair_id object_id object_type image_id detailed_id type position image_path alt image_x image_y images_image_id
107801 3156 category 0 108038 M 0
107811 3160 category 0 108048 M 0
107819 3161 category 0 108056 M 0
107873 3173 category 0 108110 M 0
107883 3175 category 0 108120 M 0
108046 3195 category 0 108283 M 0
108048 3196 category 0 108285 M 0
108197 3211 category 0 108434 M 0
108231 3214 category 0 108468 M 0
108303 3221 category 0 108540 M 0
108486 3250 category 0 108723 M 0
108590 3255 category 0 108827 M 0
110080 3280 category 0 110317 M 0
110144 3288 category 0 110381 M 0
110155 3289 category 0 110392 M 0
110303 3302 category 0 110540 M 0
110364 3304 category 0 110601 M 0
110461 3316 category 0 110698 M 0
110736 3340 category 0 110973 M 0
110741 3342 category 0 110978 M 0
113666 3383 category 0 113903 M 0
114154 3388 category 0 114391 M 0
114619 3405 category 0 114856 M 0
115839 3413 category 0 116076 M 0
921218 7889 category 0 921455 M 0
921312 7905 category 0 921549 M 0
922858 8082 category 0 923095 M 0
923904 8095 category 0 924141 M 0
924327 8122 category 0 924564 M 0
1697586 23734 category 0 1697824 M 0