Electronic structure and magnetism of MnSb2Te4