rhbz1044768 Replace MD5 query for ETag with timestamp-based query

The MD5 query used group_concat, which silently truncates after
reaching GROUP_CONCAT_MAX_LEN bytes.