SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}Beindersheim{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}' OR prCity = 'Beindersheim' OR prZip = 'Beindersheim' OR prStreet LIKE '{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}Beindersheim{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}' OR prCountry = 'Beindersheim') AND (prLocation LIKE '{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}Germany{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}Germany{7db77d1559bee497195c9ee03a4b7957b38da2e8da5c9bbdc35e56eb6055bd21}' OR prCountry = 'Germany')