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