SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = 'a0a1817faebc7b3bee2a8c7f5e38f258ae6bc137ba6fdbb560c1b874935227e8' 
  AND token = 'v42WmTC6incVKIGH/+Ifs8YZ5uFMpc9HH8ocuNlCEe4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00954

JSON explain

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