Not affiliated in anyway, just a happy customer.
I buy quite a few things from iherb.com, their shipping from California to Tasmania is quite swift, and they sell a brand called Now Foods which seem to consistently have what I want at the best price.
Any of the magnesium glycinate, citrate, orotate, here https://www.iherb.com/c/Magnesium should be okay. You just want to avoid magnesium oxide, it's poorly absorbed and causes water retention in the guy, possibly leading to loose bowels.
Here in Australia we're lucky to have a few brands that do good magnesium gylcinate / citrate / orotate powders with cofactors - a few B vitamins, but especially B6, folate, B12.
One good way to lose yourself in this is to start with The Nutrient Bible by Henry Osiecki.