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