In the case without reading the entire table, index the database application can find data faster.
Create an index:
CREATE INDEX INDEXNAME ON TABLENAME(COLUMN_NAME1);
CREATE INDEX INDEXNAME ON TABLENAME(COLUMN_NAME1,COLUMN_NAME2);
Delete the index:
DROP INDEX INDEXNAME;