Use indices on id() in a SELECT statement.