Text this: A Bound for a Sum of Products of Two Characters and Its Application