Hi Puer,
The absolute minimum is 30 minutes before departure - we would advise between 45minutes to 1hr. This gives you time to get through bag scanning, passport control and up onto the platform (and a bit of time to pick up a magazine from the shop if needed)
Subject to the usual disclaimers that times are subject to change and will be confirmed in your final documents, you should arrive back at St Pancras International at about 5pm.
Kindest regards,
Julia