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.detailed_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.00369

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "187.90"
    },
    "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.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.84",
              "eval_cost": "3.50",
              "prefix_cost": "114.57",
              "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`.`detailed_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.83",
              "eval_cost": "3.50",
              "prefix_cost": "152.90",
              "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 sticker-jante---seat-set-4-buc-maniastiker-.jpg 700 590 1994352
1994112 1232906 product 0 1994364 M 0 stickere-auto-mercedes-maniastiker-.jpg 250 250 1994364
1994115 1232908 product 0 1994367 M 0 stickere-auto-baiat-piss-maniastiker-.jpg 250 250 1994367
1994145 1232935 product 0 1994397 M 0 image_2021_04_21T08_07_28_433Z.png 432 504 1994397
1994152 1232940 product 0 1994404 M 0 sticker-ornament-auto-model-bmw-m-power-20cm-x-18cm-maniastiker-.jpg 700 393 1994404
1994159 1232946 product 0 1994411 M 0 sticker-sports-mind---bmw-sport-maniastiker-.jpg 500 477 1994411
1994160 1232947 product 0 1994412 M 0 sticker-sports-mind---golf-maniastiker-.jpg 500 192 1994412
1994167 1232953 product 0 1994419 M 0 sticker-sports-mind---amg-maniastiker-.jpg 500 498 1994419
1994183 1232965 product 0 1994435 M 0 sticker-sports-mind---skoda-maniastiker-.jpg 500 500 1994435
1994184 1232966 product 0 1994436 M 0 sticker-sports-mind---opel-maniastiker-.jpg 500 500 1994436
1994190 1232971 product 0 1994442 M 0 sticker-prag-alfa-romeo-set-2-buc-maniastiker-.jpg 700 700 1994442
1994192 1232973 product 0 1994444 M 0 sticker-prag-audi-set-2-buc-maniastiker-.jpg 700 700 1994444
1994194 1232975 product 0 1994446 M 0 sticker-prag-mitsubishi-set-2-buc-maniastiker-.jpg 700 700 1994446
1994196 1232977 product 0 1994448 M 0 sticker-prag-quattro-set-2-buc-maniastiker-.jpg 700 700 1994448
1994199 1232979 product 0 1994451 M 0 sticker-tetiera-piele-bmw-x5-set-5-buc-maniastiker-.jpg 700 653 1994451
1994214 1232993 product 0 1994466 M 0 sticker-capota-sau-luneta---seat-maniastiker-.gif 600 300 1994466
1994215 1232994 product 0 1994467 M 0 sticker-capota-sau-luneta---volkswagen-maniastiker-.gif 600 300 1994467
1994219 1232998 product 0 1994471 M 0 sticker-capota-opel---cpt39-maniastiker-.jpg 640 480 1994471
1994220 1232999 product 0 1994472 M 0 sticker-performance---alfa-romeo-maniastiker-.jpg 640 480 1994472
1994222 1233001 product 0 1994474 M 0 sticker-performance---ford-maniastiker-.jpg 640 480 1994474
1994225 1233004 product 0 1994477 M 0 sticker-performance---mitsubishi-maniastiker-.jpg 640 480 1994477
1994226 1233005 product 0 1994478 M 0 sticker-performance---opel-maniastiker-.jpg 640 480 1994478
1994229 1233008 product 0 1994481 M 0 sticker-performance---saab-maniastiker-.jpg 640 480 1994481
1994232 1233011 product 0 1994484 M 0 sticker-performance---smart-maniastiker-.jpg 640 480 1994484
1994233 1233012 product 0 1994485 M 0 sticker-performance---suzuki-maniastiker-.jpg 640 480 1994485
1994242 1233020 product 0 1994494 M 0 sticker-sports-mind-skoda-motorsport-maniastiker-.jpg 709 709 1994494
1994244 1233022 product 0 1994496 M 0 sticker-auto-laterale-bmw-m-power-set-2-buc-maniastiker-.jpg 450 450 1994496
1994245 1233023 product 0 1994497 M 0 sticker-auto-laterale-bmw-motorsport-set-2-buc-maniastiker-.jpg 450 450 1994497
2007076 1238120 product 0 2007328 M 0 sticker-auto-parbriz-because-audi-alb-.jpg 650 650 2007328
2007085 1238126 product 0 2007337 M 0 set-stickere-auto-protectie-praguri-skoda-octavia-negrurosu-4buc-.jpg 1793 1793 2007337
2007090 1238131 product 0 2007342 M 0 sticker-auto-capota-auto-wrc-.jpg 500 350 2007342
2007091 1238132 product 0 2007343 M 0 set-5-stickere-dacia-aplicare-pe-capota--luneta--laterale-modern-tuning-.jpg 500 350 2007343
2007106 1238147 product 0 2007358 M 0 sticker-auto-sport-mind-passat-negrurosu-.jpg 650 650 2007358
2007118 1238155 product 0 2007370 M 0 set-stickere-auto-caroserie-powered-by-audi-scris-alb-2buc-.jpg 1039 989 2007370
2007128 1238164 product 0 2007380 M 0 set-stickere-manere-usa-mazda-culoare-alb-4-buc-maniastiker-.jpg 750 525 2007380