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