SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}Lindlar{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}' OR prCity = 'Lindlar' OR prZip = 'Lindlar' OR prStreet LIKE '{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}Lindlar{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}' OR prCountry = 'Lindlar') AND (prLocation LIKE '{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}Germany{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}Germany{8574549ebb41b063d4ad1db7f098f0bc2b60e921681802aafc1c46c59bb7ddb1}' OR prCountry = 'Germany')