Get a card with a BIN that isn't restricted. If your entire country is restricted, getting a foreign card might not help since your physical address, IP address, device location, and phone number country might also be blocked.
Depending on where you live, you can look into different EMIs and other non-bank financial institutions that issue prepaid cards or virtual cards.