SELECT 
  1 
FROM 
  vi_lock_keys 
WHERE 
  key_id = 'b9c1e0a6b8ce9093ace2061ccb29c39b1097721f7446904a1e23ef2a287da5af' 
  AND token = 'sFuVcU/VltvdMDxf2OKolBK4txcmT9GZSdS2gWqCEAw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00012

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}