Nearly 700,000 mortgage borrowers are being warned they could be paying over £5,000 more in interest than they need to.