The owner of or any person interested in any lot or parcel of land upon which a bond has been issued under the terms of this division may at any time before commencement of proceedings for sale pay off the bond and discharge the land described in the bond from the lien of the assessment. The discharge may be had by paying to the treasurer, for the holder of the bond, the following sums: (a) the unpaid principal sum thereof; (b) if the interest thereon has already been paid to the next succeeding January 2 or July 2, as the case may be, no interest will be payable; (c) if the interest to the next succeeding January 2 or July 2 has not been paid, then the interest to that January 2 or July 2, as the case may be, shall be payable; (d) all penalties accrued and unpaid; and (e) premium, if any, required by Section 6464. For the purpose of this section, a bond shall be deemed to be issued on the 31st day after the recordation of the warrant upon any unpaid assessment for which the legislative body has provided for the issuance of a bond to represent said unpaid assessment or the last date for payment of the assessment, as specified in the statement required by Section 5390, whichever may be later.