A right of a debtor to redeem mortgaged real estate, or to redeem any right or interest in real estate, or to receive a conveyance of real estate on performance of a contract relating thereto, and terms for years, may be taken on execution, and may be sold at auction and conveyed as herein provided.