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