set query statement for each prepared statement to 300000 ms