Here
are the configurations for the query planner. You can manipulate them to change the query plan (For your case it can be simple SET enable_seqscan = off;
for this query).
But before you change the planner configuration - check if statistics on this table are correct and collect them again if needed.