SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '8f4474a51c4d14e66f54dd567d5be61cc8358901eb30a10ee60068dc83234213' 
  AND token = 'TZzqjw6Oj97zHfRKDt6YtlqVCgtb2NNnEbarn5o2WXA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00900

JSON explain

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