Please show EXPLAIN ANALYZE output for your queries, not just EXPLAIN.Also it would be useful to see the pg_stats rows for the date_key andcontent_key columns.
regards, tom lane