Add index on valid column of the SQL token Backend

Add migration script to add the index

Change-Id: I0d7e231b32040dfb57c2e8023a7f45d65416763c
Fixes: bug #1168399
Merge "Add index on valid column of the SQL token Backend"