SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '6f31ef76fd3464d0174c5097b0dbfff816d9b009a8ef4008f43858a7592dedf3' 
  AND token = 'Z8O4Nmnm8lLIh+uuepGguikUXubDbpCVI/cGb8SrX7A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00750

JSON explain

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