Composit Key

Aerospike does not offer composite keys based on bin data - which is what you are looking for. See more here: Composite keys for Aerospike - #3 by pgupta

Also, this discussion thread may also help: Using Aerospike to process data where uniqueness is defined by combination of keys - Stack Overflow