SELECT id, ip_access_mask FROM global_webuser WHERE (ip_access = 'y') AND (ip_access_mask!='') and (active='y') and (expire_date >= '2025-04-22')