This paper deals with a Brocard-Ramanujan-type equation of the form un 1 un 2 . . . un k + 1 = u 2 m in unknown nonnegative integers k, n 1 , n 2 , . . . , n k and m with k ≥ 1, where u = (un) ∞ n=0 is either a Lucas sequence or its associated sequence. For certain infinite families of sequences we completely solve the above equation, extending some results of Marques [15], Szalay [21] and Pongsriiam [18]. The ingredients of the proofs are factorization properties of Lucas sequences, the celebrated result of Bilu, Hanrot and Voutier on primitive divisors of Lucas sequences and elementary estimations concerning the terms involved.