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