Index Smith — Database

Read the schema and the slow query, then pick the right index: 5 levels of leftmost prefixes, composite, covering and partial indexes.