MAILPOET-5145
This method will be used in a subsequent commit to replace some of the usages of the method SendingQueue::findTaskByNewsletterId() as part of the refactor from Paris to Doctrine. [MAILPOET-4138]
[MAILPOET-3988]