SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}Herford{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}' OR prCity = 'Herford' OR prZip = 'Herford' OR prStreet LIKE '{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}Herford{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}' OR prCountry = 'Herford') AND (prLocation LIKE '{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}Germany{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}Germany{0af8f77d47c5922d4521e97fa94265a13e84d082da4725804f7c1251bff1ab13}' OR prCountry = 'Germany')