There is no such thing as “plain”. You can’t eat pure magnesium. mg oxide is cheap, but apparently mostly laxative. Mg citrate is part laxative but also absorbed. Mg glycinate is more expensive but avoids the laxative effect.
For the muscle relaxant effect (other than perhaps bowel muscles), mg oxide is hardly useful.