Favourite a tweet from a particular person when they mention a keyword

Is it possible to “favourite” tweets from selected accounts when they mention a certain keyword?

There’s no option that you can use, but maybe with some advanced search operators you can accomplish something similar. Check this article to learn how to use them:
Twitter - Advanced Search Operators