i am not familiar with core that much but i believe in there you don't have the option to tell the wallet the address type! so it checks all the possible addresses!
Correct... In Bitcoin Core, you don't have the option to tell the wallet the address type when importing... but I believe that it doesn't check all of them. Instead, it simply imports the private key and creates the address for whatever
addresstype the wallet is currently set to.
By default, Bitcoin Core uses "ps2h-segwit" addresses, but you can specify the
-addresstype option on the commandline (or in bitcoin.conf) when starting up to override this temporarily... import your key to create the address you want, then shutdown and restart without the option specified to return back to default.
-addresstype
What type of addresses to use ("legacy", "p2sh-segwit", or "bech32", default: "p2sh-segwit")
Note: I have NOT tested this, so would advise running some tests on a dummy wallet.dat before attempting this to ensure that it works as you want before attempting it on a "live" wallet.
OP should also note that as pooya87 suggested, sweeping the coins would be the ideal solution... by importing a private key, you will need to ensure that you update all your backups of wallet.dat as older versions of the wallet.dat will not be able to recover that private key as it was not created by the embedded seed.