Ronan Curtis scored a first half hat-trick as Derry City, record 10-time winners of the competition, beat First Division Shelbourne 7-3 in a thrilling goal-fest last eight tie at the Brandywell to book their place in the semi-final of the EA Sports Cup.