def get_slot(grps, k):
    """
    Given array of match groups, return first key matching
    :param grps:
    :param k:
    :return: tuple matching.
    """
    for g in grps:
        key, v, x1, x2 = g
        if key == k:
            return g
    return None