SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = 'a38af9d5ebbe9cf84a4187072097e036f8167e96deb1849dea313b61ad468b08' 
  AND token = '8Xnmz49in67qLvrL+Xqdky1x31NwYyJoc7mm/1LG7uU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.01650

JSON explain

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