I have a select query where I am trying to search strings for multiple patterns
LIKE (\'%this%\' or \'%that%\' ) and something=else
Returns
I know it's a bit old question but still people try to find efficient solution so instead you should use FULLTEXT index (it's available from MySQL 5.6.4).
Query on table with +35mil records by triple like in where block took ~2.5s but after adding index on these fields and using BOOLEAN MODE inside match ... against ... it took only 0.05s.