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 = 'M' 
  AND cscart_images_links.object_id IN (
    1231444, 2382470, 1232132, 1231619, 
    1231934, 1232067, 1129861, 1232342, 
    1232255, 1232131, 1231263, 1129864, 
    1231062, 1231061, 1231700, 2382443, 
    1231550, 2310531, 1231689, 1231916, 
    1231554, 1232118, 1232182, 2615750, 
    1141555, 1232128, 2538988, 2382442, 
    1231692, 1232127, 1231275, 2462833, 
    1198910, 1231186, 1231272, 1162591
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00284

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "192.38"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "36.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": 36,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'product') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (1231444,2382470,1232132,1231619,1231934,1232067,1129861,1232342,1232255,1232131,1231263,1129864,1231062,1231061,1231700,2382443,1231550,2310531,1231689,1231916,1231554,1232118,1232182,2615750,1141555,1232128,2538988,2382442,1231692,1232127,1231275,2462833,1198910,1231186,1231272,1162591)))",
            "cost_info": {
              "read_cost": "73.67",
              "eval_cost": "3.60",
              "prefix_cost": "77.27",
              "data_read_per_join": "3K"
            },
            "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": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.98",
              "eval_cost": "3.60",
              "prefix_cost": "116.84",
              "data_read_per_join": "27K"
            },
            "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": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.94",
              "eval_cost": "3.60",
              "prefix_cost": "156.38",
              "data_read_per_join": "21K"
            },
            "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
1793769 1129864 product 0 1794018 M 0
1796013 1129861 product 0 1796262 M 0
1839014 1141555 product 0 1839266 M 0
1870157 1162591 product 0 1870409 M 0
1931596 1198910 product 0 1931848 M 0
1990725 1231061 product 0 1990977 M 0
1990726 1231062 product 0 1990978 M 0
1990875 1231186 product 0 1991127 M 0
1990966 1231263 product 0 1991218 M 0
1990975 1231272 product 0 1991227 M 0
1990979 1231275 product 0 1991231 M 0
1991169 1231444 product 0 1991421 M 0
1991390 1231550 product 0 1991642 M 0
1991397 1231554 product 0 1991649 M 0
1991469 1231619 product 0 1991721 M 0
1991550 1231689 product 0 1991802 M 0
1991561 1231692 product 0 1991813 M 0
1991586 1231700 product 0 1991838 M 0
1991889 1231916 product 0 1992141 M 0
1991916 1231934 product 0 1992168 M 0
1992104 1232067 product 0 1992356 M 0
1992188 1232118 product 0 1992440 M 0
1992237 1232127 product 0 1992489 M 0
1992241 1232128 product 0 1992493 M 0
1992257 1232131 product 0 1992509 M 0
1992259 1232132 product 0 1992511 M 0
1992357 1232182 product 0 1992609 M 0
1992443 1232255 product 0 1992695 M 0
1992557 1232342 product 0 1992809 M 0
5940024 2310531 product 0 5940277 M 0
6172785 2382442 product 0 6173038 M 0
6172790 2382443 product 0 6173043 M 0
6172905 2382470 product 0 6173158 M 0
6361606 2462833 product 0 6361859 M 0
6557995 2538988 product 0 6558248 M 0
6772718 2615750 product 0 6772971 M 0