SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}Lustica{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}' OR prCity = 'Lustica' OR prZip = 'Lustica' OR prStreet LIKE '{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}Lustica{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}' OR prCountry = 'Lustica') AND (prLocation LIKE '{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}Montenegro{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}' OR prCity = 'Montenegro' OR prZip = 'Montenegro' OR prStreet LIKE '{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}Montenegro{e8531fc44ff80475ef99a664b57e2c0ed515daa691627b69cf480a5935043300}' OR prCountry = 'Montenegro')