I have a table user. It has columns id and email.
user
id
email
USER TABLE
id | email 1 | xxx@gmail.com 2 | yyy@gmail.com
In scaning by UNIQUE KEY BTREE is used so it's quite fast.
UNIQUE KEY
BTREE
Don't you want check for existing of value by yourself in additional select query
select