Racing Santander beat Espanyol 3-0 away to close on the Champions League places in fifth.