table
id | word
SELECT id FROM table WHERE
word = "hello" OR
word = "ello" OR
word = "llo" OR
word = "lo" OR
word = "o"
I need to get only first id that is found. If not first - then second. If not second - then third ....
Is it possible to get only first OR that is in the database, without checking all of them?