SELECT EXISTS (
    SELECT 1 FROM reports
    WHERE month = $month AND year = $year
) AS exist;