CONCAT (string1, string2,…) AS column_name
select * from table where concat_ws(' ',first_name,last_name) like '%$search_term%';