The maturity period is calculated from date of issuance, not from the date you purchase in secondary market.
You can buy SGB from secondary market and hold until maturity.
@Quicko recently published this post on Taxation on SGB, you can check this out: Taxation on Sovereign Gold Bonds (SGBs) in India