SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}Bad{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}Bad{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}' OR prCountry = 'Bad') AND (prLocation LIKE '{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}Gastein{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}' OR prCity = 'Gastein' OR prZip = 'Gastein' OR prStreet LIKE '{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}Gastein{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}' OR prCountry = 'Gastein') AND (prLocation LIKE '{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}Austria{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}' OR prCity = 'Austria' OR prZip = 'Austria' OR prStreet LIKE '{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}Austria{b53e2cd52e823c641b94a09e2f7f0084f1b8a213ac49fe39960e5d3e8d049554}' OR prCountry = 'Austria')