Take the slow query from the MiniProfiler (thing with numbers at top left) and run it with psql, as EXPLAIN ANALYZE $query, then paste the results here.
Also, I saw a very active Discourse get better performance running in spinning disks, so I guess something is very wrong.