A 65-year-old man who lives on benefits must pay £503 after racially abusing two pub staff, York magistrates decided.