Sometimes when testing a filter the database becomes unresponsive, stuck in a long query. Solution: properly join ttrss_entries and ttrss_user_entries instead of working with their carthesian product.