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