Use query.get() for PK filter