The standard answer would be yes, only save if the interest rate is more, pay off the debt first.
it seem though there are so many clauses with paying of your debt and also there is so little in the interest rate between your mortgage and the savings rate if an ISA
so the money you make in interest in saving in an ISA ( tax free up to £20k per year each) off sets the interest you are paying on your mortgage.
thus my thinking, this goes against the grain with me - jyst save the money.
even more so now you say it’s your payments that reduce not your actual loan amount. This has been set up to make sure your lender isn’t losing money 😉
if it was me I’d sort a 7 year savings plan in an ISA. Save £2500 each month with the goal of reaching £254,366 ( that’s including £41000 in interest over 7 years at 5%)
that will then give you a yearly interest amount of £13000 per annum or £1083 monthly - tax free ( until any government change ISA which is unlikely)
that’s worked out on 5% interest. You could then of course use the interest from the ISA to pay most of your mortgage payments each year or leave the amount for 23 years without adding any further payments - but move about to make sure you get best interest rates ( never remove money from an Isa as you can’t put it back and it’s tax free)
you’d have £801,419 after another 23 years having initially put away £254k you’d gain £547,053 interest - if you can keep at 5%
obviously in 30 years £801,429 will not be worth what it is now, but it’d give you a good income for 7 years saving
you’d lose approximately £3000 but the issue is you’re capped on you mortgage so it’s not an easy comparison.
plus after 7 years you can change your mind and jyst pay the mortgage off with your savings - or remortgage and use the interest to pay the mortgage payments 🤷♀️