If you have a field formatted as a comma separated list in MySQL and you need to search for those records containing a value in this field, you can use the method find_in_set.
This method returns the index position (starting by 1) where the value was found in the comma separated list field. This is an example: