Expanding on the correct comment of @keshlam:
You borrowed $25000 at some point in time. This debt grew at the pre-agreed interest rate for one month.
At that point you threw some money into the debt. This amount (one hopes) paid off all the month's accumulated interest and some of the principle. The now-reduced total debt grew for another month at the same rate, at which time you threw some more money at the debt, and so on...
Now, as it happens, someone figured out that if you paid a particular amount each month, the debt, growing and shrinking under this payment scheme, would be reduced to zero immediately after the 60th payment, and you agreed to make that payment. You can see this in any amortization schedule for a loan or mortgage.
if you have favourable terms in the loan agreement, you could pay more each month, or even pay the entire balance owing. None of this would change the interest rate that was used to make the debt grow for the months up until the moment of that early pay-off!
You paid the exact same interest rate. You paid it for a shorter time, or on a lower balance than expected, but the rate used is exactly the same.