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 = 'category' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    884, 2645, 5554, 15016, 28650, 14939, 
    7307, 14966, 15013, 28652, 2995, 28563, 
    28651, 972, 7132, 3100, 14928, 883, 
    28614, 28653, 5548, 1449, 28654, 2464, 
    848, 984, 3662, 5077, 1017, 5190, 28020, 
    967, 6766, 23396, 6333, 30411, 29114, 
    30093
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00538

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "201.72"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "38.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": 38,
            "rows_produced_per_join": 38,
            "filtered": "100.00",
            "index_condition": "((`maniamall_cscart`.`cscart_images_links`.`object_type` = 'category') and (`maniamall_cscart`.`cscart_images_links`.`type` = 'M') and (`maniamall_cscart`.`cscart_images_links`.`object_id` in (884,2645,5554,15016,28650,14939,7307,14966,15013,28652,2995,28563,28651,972,7132,3100,14928,883,28614,28653,5548,1449,28654,2464,848,984,3662,5077,1017,5190,28020,967,6766,23396,6333,30411,29114,30093)))",
            "cost_info": {
              "read_cost": "77.76",
              "eval_cost": "3.80",
              "prefix_cost": "81.56",
              "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": 38,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "37.52",
              "eval_cost": "3.80",
              "prefix_cost": "122.88",
              "data_read_per_join": "29K"
            },
            "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": 38,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "37.04",
              "eval_cost": "3.80",
              "prefix_cost": "163.72",
              "data_read_per_join": "22K"
            },
            "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
87313 2645 category 0 87550 M 0 cort-pavilion-3x3m-premium-pentru-curte-sau-gradina-cu-pereti-tip-plasa-anti-insecte-culoare-gri-.jpg 500 540 87550
107259 1017 category 0 107496 M 0 ewqrd.jpg 400 400 107496
107262 3100 category 0 107499 M 0 defwe.jpg 1381 875 107499
107508 1449 category 0 107745 M 0 Aparate_Antidaunatori_si_Insecte.jpg 500 500 107745
107537 884 category 0 107774 M 0 Gratare_Gradina_si_Accesorii_Barbeque.jpg 800 800 107774
107567 883 category 0 107804 M 0 Unelte_Gradinarit.jpg 320 228 107804
179227 967 category 0 179464 M 0 Articole_pentru_Petreceri.jpg 800 800 179464
179233 848 category 0 179470 M 0 Decoratiuni_Interioare.jpg 1500 1500 179470
179249 984 category 0 179486 M 0 Cutii_Depozitare_si_Organizare.jpg 900 900 179486
179250 2464 category 0 179487 M 0 Diverse_Casa_si_Gradina.jpg 800 800 179487
179308 972 category 0 179545 M 0 Articole_pentru_Baie.jpg 709 709 179545
323213 5190 category 0 323450 M 0 Sticle_Borcane_Damigene_Butoaie.jpg 800 800 323450
360120 5554 category 0 360357 M 0 mobilier-de-gradina.jpg 800 529 360357
549402 6333 category 0 549639 M 0 brad-de-craciun-artificial-verde-alaska-cu-alb-la-varfuri-100-cm-si-suport-cadou-.jpg 500 540 549639
566482 3662 category 0 566719 M 0 Produse_Curatenie_si_Intretinere.jpg 3836 3532 566719
575858 6766 category 0 576095 M 0 OK-IK_copy.jpg 480 314 576095
694691 5548 category 0 694928 M 0 sere_magazii.jpg 800 579 694928
694692 7132 category 0 694929 M 0 Sanitare_Accesorii.jpg 2000 2000 694929
1365721 14928 category 0 1365958 M 0 cutii-postale.jpg 550 550 1365958
1371590 15016 category 0 1371827 M 0 mese-gradina.jpg 550 550 1371827
1741389 28020 category 0 1741628 M 0 folie-geamuri-cladiri.jpg 750 750 1741628
1822119 28563 category 0 1822371 M 0 res_fe0c19e70dd30de24a8a91b051d2f2a5_450x450_2mlq.jpg 450 450 1822371
1824574 14966 category 0 1824826 M 0 hamac-modern-pentru-relaxare-.jpg 500 540 1824826
1824575 15013 category 0 1824827 M 0 leagan-modular-3-in-1-pentru-copii-cu-spatar-detasabil-si-protectie-impotriva-caderii-.jpg 508 750 1824827
1824576 14939 category 0 1824828 M 0 sezlong-pliabil-si-reglabil-cu-paravan-pentru-protectie-solara-culoare-albastru-.jpg 720 501 1824828
1839044 28614 category 0 1839296 M 0 furtun-de-gradina-extensibil-5-15-m-strend-pro-benson-12-34-cu-pistol-de-stropit-mania-tools.jpg 550 550 1839296
1839313 23396 category 0 1839565 M 0 figurina-mos-craciun-ceramica-rosu-cu-felinar-28x19x45-cm-.jpg 250 250 1839565
1844362 7307 category 0 1844614 M 0 categorie.png 881 752 1844614
1844380 28650 category 0 1844632 M 0 leagan-balansoar-suspendat-tip-scoica-pentru-curte-sau-gradina-cu-perne-si-suport-metalic-130kg-negrugri-.jpg 498 1200 1844632
1844381 28651 category 0 1844633 M 0 piscina--bestway-56418-dimensiune-366x100-m-pompa-filtru-scara-incluse-scu-mania_95sw-t6.jpg 340 368 1844633
1844382 28652 category 0 1844634 M 0 cort-tip-casuta-zoo-pentru-copii-multicolora-pentru-joaca-in-casa-sau-afara-.jpg 776 750 1844634
1844383 28653 category 0 1844635 M 0 suport-bolta-cadru-din-metal-cu-portita-pentru-flori-cataratoare-.jpg 487 768 1844635
1844384 28654 category 0 1844636 M 0 carucior-metalic-remorca-pentru-curte-sau-gradina-cu-husa-detasabila-600kg-.jpg 749 395 1844636
1844391 2995 category 0 1844643 M 0 Untitled.png 1006 829 1844643
1865314 5077 category 0 1865566 M 0 sds.png 938 808 1865566
1932370 29114 category 0 1932622 M 0 utilaje-agricole.jpg 858 700 1932622
2084947 30093 category 0 2085199 M 0 res_9bc22f81e60050e98da6cd4ca0eb9741.jpg 1024 1024 2085199
4477858 30411 category 0 4478111 M 0 ambielaj-st-ms-171-181-211-1139-030-0401---mto-da00052-.jpg 700 572 4478111