SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}Hesel{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}' OR prCity = 'Hesel' OR prZip = 'Hesel' OR prStreet LIKE '{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}Hesel{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}' OR prCountry = 'Hesel') AND (prLocation LIKE '{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}Ostfriesl{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}' OR prCity = 'Ostfriesl' OR prZip = 'Ostfriesl' OR prStreet LIKE '{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}Ostfriesl{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}' OR prCountry = 'Ostfriesl') AND (prLocation LIKE '{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}Germany{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}Germany{51a552b0d8efd8a1645103966dbdb6b7994e2d360e40c499bfcb203cd3c90228}' OR prCountry = 'Germany')