Index scan timeout on query

This is a repeat of the question here: