Now, assume I want to close the mortgage early. What happens then to the monthly payments already paid? Do they get recalculated because the interest on those should have been less?
In the corner case of paying back a 30 years loan after 1 year, most of my 12 monthly payments went towards an interest calculated based on 30 years, but now I'm paying it back much earlier. Would the drop in the interest be applied retrospectively or basically all those payments are lost?
I suspect you have a misconception about the way that mortgage interest works.
Suppose you have a 30-year mortgage for $300,000 and an interest rate of 4%. Let me punch that into my mortgage calculator here. In the first month, my calculator says you'll pay... $1,000 in interest.
All right, now suppose you want to save money on interest, so you still get a $300,000 loan at a 4% interest rate, but you make it a 10-year loan again. How much do you save on your monthly interest payment? Let me punch that into my calculator again. Your first month's interest payment is going to be... $1,000.
It's the same number! Changing the term of the loan doesn't change the interest payment at all.
Why is this? Well, the formula for interest on a mortgage is very simple: it's the balance, times the interest rate, divided by 12. The term of the mortgage doesn't come into the calculation at all.
But wait, won't a 10-year mortgage have a lot less interest on it than a 30-year mortgage? How can it be the same?
Well, one thing to notice is that for the first month, even though the amount of interest you pay is the same regardless of term, the percentage of interest is different. For the 30-year mortgage, your first payment is $1,432, and $1,000 of that is interest, which is 70% of the payment. For the 10-year mortgage, on the other hand, your first payment is $3,037, and $1,000 of that is interest, which is 33% of the payment. The percentage of interest is smaller not because the amount of interest is smaller, but because the total payment is larger.
The other thing to notice is that, since you make larger payments on a 10-year mortgage than on a 30-year mortgage, the balance goes down faster, and that makes the amount of interest go down faster, too. With the 10-year mortgage, your balance after 5 years is only $165,000, so you only have to pay $558 a month in interest. With the 30-year mortgage, on the other hand, your balance after 5 years is $271,000, meaning you have to pay $906 a month in interest.
In other words, you aren't paying less interest because the term of the loan is shorter; you're paying less interest because the balance is smaller.
So, to answer your specific questions:
Now, assume I want to close the mortgage early. What happens then to the monthly payments already paid? Do they get recalculated because the interest on those should have been less?
The interest on those shouldn't have been less; they should have been exactly what they were. So there's nothing to recalculate.
Would the drop in the interest be applied retrospectively or basically all those payments are lost?
The only thing that causes a "drop in the interest" is reducing the balance of the loan—in other words, paying principal. Since you're making extra payments today, not a year ago, the drop in the interest occurs today, not a year ago. There's nothing to apply retroactively.
The past payments aren't really "lost," though. You bought something with that money: namely, the privilege of living in a house that you owe money on. You've already used up the service that you paid for, and you're not going to get a refund for it.