SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}Windorf{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}' OR prCity = 'Windorf' OR prZip = 'Windorf' OR prStreet LIKE '{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}Windorf{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}' OR prCountry = 'Windorf') AND (prLocation LIKE '{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}Germany{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}Germany{87e50a9fe63c02263ca58f8d784887c1ebb6b80f15d2c8fb85d36e8d55cc7dfc}' OR prCountry = 'Germany')