refactor latest episodes route, use raw sql to achieve a single statement instead of multiple sql queries