This avoids running a big SQL query which could potentially return a
large number of rows. All we need to check for is existance of AT LEAST
one record. This can be done much faster with LIMIT 1.