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

Query time 0.00776

JSON explain

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