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 = 'product' 
  AND cscart_images_links.type = 'A' 
  AND cscart_images_links.object_id IN (
    1071424, 590666, 1070861, 1067093, 
    588429, 1066576, 2087393, 1730414, 
    1069290, 1914198, 1069343, 1033169, 
    594354, 588260, 1070693, 1026418, 
    588478, 1730413, 593193, 588463, 1730415, 
    1033132, 588464, 596931, 1282930, 
    1338749, 1731846, 1732251, 1338941, 
    1731892, 1238126, 1238131, 1238155, 
    1238132, 1108822, 1238147
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00465

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "276.58"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "55.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": 55,
            "rows_produced_per_join": 55,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'A') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1071424,590666,1070861,1067093,588429,1066576,2087393,1730414,1069290,1914198,1069343,1033169,594354,588260,1070693,1026418,588478,1730413,593193,588463,1730415,1033132,588464,596931,1282930,1338749,1731846,1732251,1338941,1731892,1238126,1238131,1238155,1238132,1108822,1238147)))",
            "cost_info": {
              "read_cost": "95.21",
              "eval_cost": "5.50",
              "prefix_cost": "100.71",
              "data_read_per_join": "5K"
            },
            "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": 55,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "54.96",
              "eval_cost": "5.50",
              "prefix_cost": "161.17",
              "data_read_per_join": "42K"
            },
            "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": 55,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "54.91",
              "eval_cost": "5.50",
              "prefix_cost": "221.59",
              "data_read_per_join": "32K"
            },
            "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
2007119 1238155 product 0 2007371 A 0
2085734 1282930 product 0 2085986 A 0
2085735 1282930 product 0 2085987 A 0
2085736 1282930 product 0 2085988 A 0
2251913 1338749 product 0 2252165 A 0
3941968 1730413 product 0 3942221 A 0
3941969 1730413 product 0 3942222 A 0
3941970 1730413 product 0 3942223 A 0
3941971 1730413 product 0 3942224 A 0
3941973 1730414 product 0 3942226 A 0
3941974 1730414 product 0 3942227 A 0
3941975 1730414 product 0 3942228 A 0
3941976 1730414 product 0 3942229 A 0
3941977 1730414 product 0 3942230 A 0
3941979 1730415 product 0 3942232 A 0
3941980 1730415 product 0 3942233 A 0
3941981 1730415 product 0 3942234 A 0
3941982 1730415 product 0 3942235 A 0
3941983 1730415 product 0 3942236 A 0
3946879 1731846 product 0 3947132 A 0
3946955 1731892 product 0 3947208 A 0
4624811 1914198 product 0 4625064 A 0
4624812 1914198 product 0 4625065 A 0
5082799 2087393 product 0 5083052 A 0
5082800 2087393 product 0 5083053 A 0
5082801 2087393 product 0 5083054 A 0
5082802 2087393 product 0 5083055 A 0
5082803 2087393 product 0 5083056 A 0
5082804 2087393 product 0 5083057 A 0