The text message to infect your device with the Mazar bot looks like this:
You have received a multimedia message from +[country code] [sender number] Follow the link http: //www.mmsforyou [.] Net / mms.apk to view the message.
Don't run the link and you don't get infected.
You can also ensure that the option to not allow installation of applications from unknown sources (within Settings > Security) is enabled as this will also block the installation of the APK.
As noted in the post from Heimdal Security, Mazar won't install on a device with the language set to Russian,
the malware cannot be installed on smartphones running Android with the Russian language option. Mazar BOT will check the phone to identify the victim’s country and this will stop the malicious APK if the targeted phone turns out to be owned by a Russian user
Mazar will "gain boot persistence to help survive device restarts". To remove, nuke the device from orbit and start again.