I have a users table in MySQL. The table has an email field. I have an array of hundreds of emails in PHP. How do I select all the records in the table where the email id is in the array?   
Bear in mind that I know I can do:

```
  SELECT * FROM users WHERE 
  email IN (
email1@gmail.com, email2@gmail.com,
 email3@gmail.com, email4@gmail.com, 
email5@gmail.com);

```

How would using the MySQL '`IN`' statement with hundreds of emails affect the performance of my query? is there a better way to do this?