SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = 'c414040ce802d1170454a7ef95cfb99f2f1dd4dbe3b5c3338e3441de0da1986e' 
  AND token = '/VV9NduuEWclm/dwew/lTkQXpt5Ua8/Jj4WZSNdhTus=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00801

JSON explain

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