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 (
    1232064, 1231839, 1108779, 2253664, 
    1231181, 1108820, 1238164, 1231476, 
    1153203, 1232163, 1129857, 1231065, 
    1231471, 1231473, 1231298, 1231261, 
    1231233, 1231283, 1231511, 1232091, 
    1162446, 2382472, 1231276, 1231645, 
    2382440, 1108777, 1231463, 1232020, 
    1231287, 1231046, 1231519, 1231908, 
    1231522, 1231260, 1129861, 1232123
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00425

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "192.57"
    },
    "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 (1232064,1231839,1108779,2253664,1231181,1108820,1238164,1231476,1153203,1232163,1129857,1231065,1231471,1231473,1231298,1231261,1231233,1231283,1231511,1232091,1162446,2382472,1231276,1231645,2382440,1108777,1231463,1232020,1231287,1231046,1231519,1231908,1231522,1231260,1129861,1232123)))",
            "cost_info": {
              "read_cost": "74.01",
              "eval_cost": "3.60",
              "prefix_cost": "77.61",
              "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.93",
              "eval_cost": "3.60",
              "prefix_cost": "117.14",
              "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.83",
              "eval_cost": "3.60",
              "prefix_cost": "156.57",
              "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
1742289 1108777 product 0 1742528 M 0
1742294 1108779 product 0 1742533 M 0
1742348 1108820 product 0 1742587 M 0
1793708 1129857 product 0 1793957 M 0
1796013 1129861 product 0 1796262 M 0
1857054 1153203 product 0 1857306 M 0
1870012 1162446 product 0 1870264 M 0
1990710 1231046 product 0 1990962 M 0
1990734 1231065 product 0 1990986 M 0
1990870 1231181 product 0 1991122 M 0
1990931 1231233 product 0 1991183 M 0
1990963 1231260 product 0 1991215 M 0
1990964 1231261 product 0 1991216 M 0
1990980 1231276 product 0 1991232 M 0
1990987 1231283 product 0 1991239 M 0
1990992 1231287 product 0 1991244 M 0
1991003 1231298 product 0 1991255 M 0
1991222 1231463 product 0 1991474 M 0
1991238 1231471 product 0 1991490 M 0
1991244 1231473 product 0 1991496 M 0
1991251 1231476 product 0 1991503 M 0
1991333 1231511 product 0 1991585 M 0
1991347 1231519 product 0 1991599 M 0
1991351 1231522 product 0 1991603 M 0
1991501 1231645 product 0 1991753 M 0
1991778 1231839 product 0 1992030 M 0
1991881 1231908 product 0 1992133 M 0
1992039 1232020 product 0 1992291 M 0
1992101 1232064 product 0 1992353 M 0
1992129 1232091 product 0 1992381 M 0
1992215 1232123 product 0 1992467 M 0
1992312 1232163 product 0 1992564 M 0
2007128 1238164 product 0 2007380 M 0
5641299 2253664 product 0 5641552 M 0
6172775 2382440 product 0 6173028 M 0
6172919 2382472 product 0 6173172 M 0