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 (
    480519, 596382, 697795, 1108774, 386215, 
    589116, 1732209, 590365, 589122, 611344, 
    590294, 524885, 590359, 503738, 611343, 
    1114057, 611248, 1108257, 1232917, 
    589813, 697874, 592084, 612918, 592827, 
    1232953, 589079, 697492, 1233035, 
    594419, 1108259, 696364, 588450, 697773, 
    594204, 596346, 594003
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00409

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "236.87"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "46.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": 46,
            "rows_produced_per_join": 46,
            "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 (480519,596382,697795,1108774,386215,589116,1732209,590365,589122,611344,590294,524885,590359,503738,611343,1114057,611248,1108257,1232917,589813,697874,592084,612918,592827,1232953,589079,697492,1233035,594419,1108259,696364,588450,697773,594204,596346,594003)))",
            "cost_info": {
              "read_cost": "85.18",
              "eval_cost": "4.60",
              "prefix_cost": "89.78",
              "data_read_per_join": "4K"
            },
            "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": 46,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "45.97",
              "eval_cost": "4.60",
              "prefix_cost": "140.35",
              "data_read_per_join": "35K"
            },
            "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": 46,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "45.93",
              "eval_cost": "4.60",
              "prefix_cost": "190.87",
              "data_read_per_join": "27K"
            },
            "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
606159 386215 product 0 606396 A 0
606160 386215 product 0 606397 A 0
769392 480519 product 0 769629 A 0
769393 480519 product 0 769630 A 0
769394 480519 product 0 769631 A 0
769395 480519 product 0 769632 A 0
769396 480519 product 0 769633 A 0
769397 480519 product 0 769634 A 0
769398 480519 product 0 769635 A 0
787435 503738 product 0 787672 A 0
787436 503738 product 0 787673 A 0
787437 503738 product 0 787674 A 0
955926 611248 product 0 956163 A 0
956085 611344 product 0 956322 A 0
958824 612918 product 0 959061 A 0
1095886 697773 product 0 1096123 A 0
1095919 697795 product 0 1096156 A 0
1096056 697874 product 0 1096293 A 0
1741452 1108257 product 0 1741691 A 0
1742286 1108774 product 0 1742525 A 0
1753521 1114057 product 0 1753760 A 0
1753522 1114057 product 0 1753761 A 0
3947440 1732209 product 0 3947693 A 0