Hundreds of thousands have mortgages with terms that run beyond state pension age, estimates suggest.