check if any alarm is there after five am
alarm_query