SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}Memmingen{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}' OR prCity = 'Memmingen' OR prZip = 'Memmingen' OR prStreet LIKE '{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}Memmingen{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}' OR prCountry = 'Memmingen') AND (prLocation LIKE '{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}Germany{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}Germany{2d353cdad66732dd41b8f5a3c3e25dc28a015738f36f3eeba95abc863e5d8316}' OR prCountry = 'Germany')