For such a simple query we can use provided helper
```php
 $em->getRepository('Entities\FeedToken')->findOneBy(array('usr_id' => $user->get_id(), 'feed' => $feed->getId()));
```