To make custard, place the egg yolks, sugar and custard powder in a saucepan and whisk to combine. Gradually add the milk and cream, whisking until smooth. Add the vanilla, place over medium heat until the mixture thickens and comes to boil. Remove vanilla bean (if used) and transfer the custard into a bowl. Cover the surface with plastic wrap (to prevent a skin from forming) and set aside to cool.