SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd166c8212376f88c6b68ddf4be29e349db61fa13a918692ee5132f6b3ec4e517' 
  AND token = 'BKL0N5WSSCzhRz68KI/9cm4tDmm2ySraKCEIOOYa7To=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}