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