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