Is this possible?
There is an out of the box alert already created for that. It is called 'High Response Time.' You'll want to duplicate and edit that alert and in the trigger condition section you can modify the threshold to 300 ms.