Good day everyone I have a question in regards with queries having a many filters.Below is a sample picture of my data. Let's assume this data came from the contact object.

If I try to query the contact record to check if this 3 email exist, I can do like this.
Select Email from Contact where email IN ('[email protected]','[email protected]','[email protected]')
My question is how will I do a query to check if the email,firstName,LastName exist without using loop. Fields to be filter is dynamic. Is it possible ? What are the possible way to do this ? If I will do a query like this, I believe that this will not work as I want.
Select Email from Contact where email IN ('[email protected]','[email protected]','[email protected]') AND firstName IN('john','mike','test') AND lastName in ('doe','wew','sample')
Please help.