SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '8ad81b17392d0bf1915ed4c3a4a3997cf64100b536500b0b552cea8cc1e028df' 
  AND token = 'VjoVLQ/tXgTncvpK6mD+TR6H9SCEBMSwdJy3ELaYJEs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.01502

JSON explain

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