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 (
    1233005, 1233008, 1233011, 1233012, 
    1233004, 1233001, 1232994, 1232998, 
    1232999, 1233020, 1233022, 1238147, 
    1238155, 1238164, 1238132, 1238131, 
    1233023, 1238120, 1238126, 1232993, 
    1232979, 1232940, 1232935, 1232906, 
    1232897, 1232946, 1232908, 1232977, 
    1232975, 1232947, 1232971, 1232966, 
    1232953, 1232965, 1232973
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00340

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "187.94"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "35.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": 35,
            "rows_produced_per_join": 35,
            "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 (1233005,1233008,1233011,1233012,1233004,1233001,1232994,1232998,1232999,1233020,1233022,1238147,1238155,1238164,1238132,1238131,1233023,1238120,1238126,1232993,1232979,1232940,1232935,1232906,1232897,1232946,1232908,1232977,1232975,1232947,1232971,1232966,1232953,1232965,1232973)))",
            "cost_info": {
              "read_cost": "72.73",
              "eval_cost": "3.50",
              "prefix_cost": "76.23",
              "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.93",
              "eval_cost": "3.50",
              "prefix_cost": "114.66",
              "data_read_per_join": "26K"
            },
            "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.78",
              "eval_cost": "3.50",
              "prefix_cost": "152.94",
              "data_read_per_join": "20K"
            },
            "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
1994100 1232897 product 0 1994352 M 0
1994112 1232906 product 0 1994364 M 0
1994115 1232908 product 0 1994367 M 0
1994145 1232935 product 0 1994397 M 0
1994152 1232940 product 0 1994404 M 0
1994159 1232946 product 0 1994411 M 0
1994160 1232947 product 0 1994412 M 0
1994167 1232953 product 0 1994419 M 0
1994183 1232965 product 0 1994435 M 0
1994184 1232966 product 0 1994436 M 0
1994190 1232971 product 0 1994442 M 0
1994192 1232973 product 0 1994444 M 0
1994194 1232975 product 0 1994446 M 0
1994196 1232977 product 0 1994448 M 0
1994199 1232979 product 0 1994451 M 0
1994214 1232993 product 0 1994466 M 0
1994215 1232994 product 0 1994467 M 0
1994219 1232998 product 0 1994471 M 0
1994220 1232999 product 0 1994472 M 0
1994222 1233001 product 0 1994474 M 0
1994225 1233004 product 0 1994477 M 0
1994226 1233005 product 0 1994478 M 0
1994229 1233008 product 0 1994481 M 0
1994232 1233011 product 0 1994484 M 0
1994233 1233012 product 0 1994485 M 0
1994242 1233020 product 0 1994494 M 0
1994244 1233022 product 0 1994496 M 0
1994245 1233023 product 0 1994497 M 0
2007076 1238120 product 0 2007328 M 0
2007085 1238126 product 0 2007337 M 0
2007090 1238131 product 0 2007342 M 0
2007091 1238132 product 0 2007343 M 0
2007106 1238147 product 0 2007358 M 0
2007118 1238155 product 0 2007370 M 0
2007128 1238164 product 0 2007380 M 0