A new childcare centre leased until 2042 has sold for $9.5 million, one of the biggest such sales of the year so far.