Epic Interview Question

How would you search a database in a certain scenario?