SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}Bühlertal{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}' OR prCity = 'Bühlertal' OR prZip = 'Bühlertal' OR prStreet LIKE '{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}Bühlertal{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}' OR prCountry = 'Bühlertal') AND (prLocation LIKE '{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}Germany{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}Germany{d51b31ee9ad1487248b9e7199aebf7ad1fc31c9eb60dc1fbd013a45f2e24e7b2}' OR prCountry = 'Germany')