hibernate java jpa jpql sql

JPQL Query Date with interval

I am using JPA and JPQL. And I am new in this world;-)
My Query is now giving me data between 2 dates.

Query query =em.createQuery("SELECT d FROM DTable d JOIN d.history p WHERE ( = :vehicleId) AND (p.timestamp BETWEEN :curentDate AND :date)");

How can I tell JPQL to filter the Data that he is giving me Data between 2 dates but with a time interval of 4 Minutes?.

I hope it is clear.
Thanks for you suggestion.