SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}Vettweiß{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}' OR prCity = 'Vettweiß' OR prZip = 'Vettweiß' OR prStreet LIKE '{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}Vettweiß{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}' OR prCountry = 'Vettweiß') AND (prLocation LIKE '{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}Germany{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}Germany{259cfa3e234ae04642b4d732d09bd8660ed9ac168fe7b5cad883c8050bff417b}' OR prCountry = 'Germany')