SELECT 
  1 
FROM 
  tmall_lock_keys 
WHERE 
  key_id = '341a8c230b984a753416bd0d7ec343fd32f10e1fd86ab2578f91a32b39036e59' 
  AND token = 'iRFHVvnGvNFBKVhFY4KIZUTZI+jTfl4P0KECj5wWX3s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00762

JSON explain

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