wp_kses() is likely quite a bit overboard here.  These parameters are explicitly expected to be timestamps, as seen in the prepared SQL statement a few lines below.  is_numeric() would likely suffice here as well.