SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '89a633d84b2ec8ce64bc6ee734e045fb0ff52a66d5120119577634304c3cd8aa' 
  AND token = 'rvCMHeU3TmVtkGxqHI1p4EE7M1PUtKpIGLiOq0Ow1OQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00755

JSON explain

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