Get rid of McAfee, it’s shoddy tat that has dealings with currys as a selling point and does more harm than good, every pc that I have worked on has had this crap slowing it down by huge amounts, it’s so intrusive it borders on a virus itself and you need a removal tool to fully get it off your system.
There are plenty of other free software protection programs on the market that do a far better job and are way less system hungry.
ATM I am using Avira Antivirus Pro(it’s 1 of 3 I usually choose) and this won this year as it had the best offer on(5 devices for £27 for the year) along with windows firewall and windows defender and I have no issues at all.
If you use Firefox you can negate this happening to some extent by adding the extension “HTTPS Everywhere” to the browser.