Raw SQL and field lookups combined (for Django 1.8+)