SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}Brieselang{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}' OR prCity = 'Brieselang' OR prZip = 'Brieselang' OR prStreet LIKE '{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}Brieselang{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}' OR prCountry = 'Brieselang') AND (prLocation LIKE '{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}Germany{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}Germany{47cb18390987694f7e9faee5780f4b40c77518d91042df1a0d4f172ec4eb849a}' OR prCountry = 'Germany')