SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}Pfungstadt{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}' OR prCity = 'Pfungstadt' OR prZip = 'Pfungstadt' OR prStreet LIKE '{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}Pfungstadt{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}' OR prCountry = 'Pfungstadt') AND (prLocation LIKE '{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}Germany{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}Germany{291c98e47544a7d163bb255ff93e8b9d4468a05de53d3d08f7d9cdaa350bddd8}' OR prCountry = 'Germany')