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