SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}Bad{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}Bad{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}' OR prCountry = 'Bad') AND (prLocation LIKE '{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}Laasphe{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}' OR prCity = 'Laasphe' OR prZip = 'Laasphe' OR prStreet LIKE '{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}Laasphe{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}' OR prCountry = 'Laasphe') AND (prLocation LIKE '{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}Germany{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}Germany{eeba8c678f68b1d242ed8f38c5959111f980d460b3e184d24eb600e19bb73985}' OR prCountry = 'Germany')