I would write a SQL function that takes all of those as optional parameters and includes a lot of these:
WHERE (_title IS NULL OR title LIKE _title)
AND (_minPrice IS NULL OR price > _minPrice)
AND (_maxPrice IS NULL OR price < _maxPrice)