A Scalable AI Approach for Clinical Trial Cohort Optimization