Is it that possible to select in Group_concat with separator comma and search where concat by comma Here My sample of mysql :
products_attributes_id |produc
Try this:
SELECT products_id , GROUP_CONCAT(options_values_id SEPARATOR ',') as ops FROM products_attributes GROUP by products_id HAVING FIND_IN_SET('1',ops) OR FIND_IN_SET('3',ops)