I have a table in which the following query works fine:
select * from session_actions where action_type IN (\'login_failed\',\'channel_recorded\')
I tried FIND_IN_SET but it was super slow. I rather use haystack REGEXP CONCAT('[[:<:]]', needle, '[[:>:]]') since then.
FIND_IN_SET
haystack REGEXP CONCAT('[[:<:]]', needle, '[[:>:]]')