nicipality, on the terms and conditions as offered by the commissioner whether by sale or lease, and on the restrictions established in clause (4) of subsection (h) and at 80 per cent of the value established in subsection (j); but, if the surplus real property is restricted for use as open space, affordable housing or both, then the municipality shall have the right of first refusal to acquire su