Let \(\mathbb {F}_q\) be a finite field with \(q=p^r\) elements. For \(a,b,c,d,e,f \in \mathbb {F}_q^{\times }\) , consider the family of plane affine curves over \(\mathbb {F}_q\) defined by \(\begin{aligned} C_{a,b,c,d,e,f}:ay^2+bx^2+cxy=d+ex^2y^2+fx^3y. \end{aligned}\) Denote by \(\#C_{a,b,c,d,e,f}(\mathbb {F}_q)\) the number of \(\mathbb {F}_q\) -points on \(C_{a,b,c,d,e,f}\) . In this article, we obtain explicit formulas for \(\#C_{a,b,c,d,e,f}(\mathbb {F}_q)\) under the condition \(af=ce\) . When \(c^2-4ab\ne 0\) , we express \(\#C_{a,b,c,d,e,f}(\mathbb {F}_q)\) in terms of a p-adic hypergeometric function \(\mathbb {G}(x)\) , whose values are explicitly known for all \(x\in \mathbb {F}_q\) . When \(c^2-4ab=0\) , we express \(\#C_{a,b,c,d,e,f}(\mathbb {F}_q)\) in terms of a different p-adic hypergeometric function and relate this expression to the traces of Frobenius endomorphisms of a family of elliptic curves. Finally, by using known evaluations of these hypergeometric functions, we deduce some nice formulas for \(\#C_{a,b,c,d,e,f}(\mathbb {F}_q)\) .