select * from periods
where year = YEAR(CURDATE())
and period_number = month(CURDATE())
and person_id = 3