SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}Lostau{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}' OR prCity = 'Lostau' OR prZip = 'Lostau' OR prStreet LIKE '{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}Lostau{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}' OR prCountry = 'Lostau') AND (prLocation LIKE '{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}Germany{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}Germany{6cbcfa2665c9f7f129b08ed3e8b81b2c5ada9405fe437b0ee9d498c599fb575a}' OR prCountry = 'Germany')