B is typically included for synergistic uptake reasons I believe.
Excess B12 is really bad. Neuropathy. Considering you take Mg to get rid of muscle cramps (pain, conducted by nerves), a bit ironic. It's increasingly common in Australia now.
Excess Mg is unlikely. I think the body chucks it out in Urine pretty rapidly. I still take it, the cramps after sport return within a few months when I stop. I have a fruit and veg rich diet, I get plenty of natural Mg and K which is also good for muscle cramps. Age related insufficiency I suspect (63) malabsorption comes with age.