A range query is:
A query to find the record that matches a unique identifier is called an exact-match query.
There are many database queries that are not range queries.
Whether a search is efficient or not has nothing to do with whether it is a range query or not.
Returning a record that falls within a range is called a range query.