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 (
    621057, 600081, 621042, 600012, 621081, 
    621013, 621062, 600266, 620876, 620902, 
    621045, 621082, 621063, 600115, 600228, 
    600052, 600132, 621066, 620921, 600044, 
    599887, 621019, 600112, 600223, 600204, 
    600286, 620995, 620999, 600084, 621108, 
    621078, 621079, 599947, 621067, 620984, 
    620996, 620997, 620904
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00173

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "244.03"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "47.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": 47,
            "rows_produced_per_join": 47,
            "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 (621057,600081,621042,600012,621081,621013,621062,600266,620876,620902,621045,621082,621063,600115,600228,600052,600132,621066,620921,600044,599887,621019,600112,600223,600204,600286,620995,620999,600084,621108,621078,621079,599947,621067,620984,620996,620997,620904)))",
            "cost_info": {
              "read_cost": "89.03",
              "eval_cost": "4.70",
              "prefix_cost": "93.73",
              "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": 47,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "46.97",
              "eval_cost": "4.70",
              "prefix_cost": "145.40",
              "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": 47,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "46.93",
              "eval_cost": "4.70",
              "prefix_cost": "197.03",
              "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
944399 599887 product 0 944636 A 0
944400 599887 product 0 944637 A 0
944593 599947 product 0 944830 A 0
944594 599947 product 0 944831 A 0
944595 599947 product 0 944832 A 0
944769 600012 product 0 945006 A 0
944770 600012 product 0 945007 A 0
944771 600012 product 0 945008 A 0
944845 600044 product 0 945082 A 0
944858 600052 product 0 945095 A 0
944911 600081 product 0 945148 A 0
944912 600081 product 0 945149 A 0
944920 600084 product 0 945157 A 0
944978 600115 product 0 945215 A 0
944979 600115 product 0 945216 A 0
944980 600115 product 0 945217 A 0
945008 600132 product 0 945245 A 0
945145 600204 product 0 945382 A 0
945180 600223 product 0 945417 A 0
945181 600223 product 0 945418 A 0
945189 600228 product 0 945426 A 0
945252 600266 product 0 945489 A 0
945293 600286 product 0 945530 A 0
975222 620995 product 0 975459 A 0
975228 620999 product 0 975465 A 0
975248 621013 product 0 975485 A 0
975262 621019 product 0 975499 A 0
975300 621042 product 0 975537 A 0
975305 621045 product 0 975542 A 0
975330 621057 product 0 975567 A 0
975341 621062 product 0 975578 A 0
975343 621063 product 0 975580 A 0
975351 621067 product 0 975588 A 0
975371 621079 product 0 975608 A 0
975375 621081 product 0 975612 A 0