Bad Omen effect last for 100 minutes in a real life. Or 1 hour and 40 minutes. So it’s good to go mining for a long time before entering any villages if you’re afraid of the Raid.