codice:
select * from tabella
where from_unixtime(campo_timestamp,"%Y-%m-%d") = curdate()
edit.

Per quelli di ieri

codice:
select * from tabella
where from_unixtime(campo_timestamp,"%Y-%m-%d") = curdate() - interval 1 day