Status and perspectives of the CAST experiment