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