AQL: Query using secondary index

Is it possible to query a record using secondary index?

Something like this, but except using secondary indexes:

        SELECT foo, bar FROM test.demo WHERE PK = 'key1'

I don’t see any examples in the AQL docs or in the help section of AQL. I am assuming this is possible since the secondary indexes have a ‘RW’ state.

The section on “Filtering on Indexed Bins” Querying Records | Aerospike Documentation clarifies this.