We can solve this using the very common ‘find the determinant and equate to zero method’
From there, I got the equation $$2k^2-30k=0$$ $$k=0,15$$ $k=0$ Won’t apply because then it wouldn’t be a pair of straight line. Why did we get an extraneous answer?
Note that the determinate is defined for conic (quadratic) equations, which excludes the case of $k=0$. So, you should assume $k\ne 0 $ if you compute the determinate of the given function.
Maybe a cleaner way to find $k$ is to rearrange the equation as
$$kxy+10x+6y+4=k\left(xy+\frac{10}kx+\frac6ky\right)+4 =k\left(x+\frac{6}k\right)\left(y+\frac{10}k\right)+4-\frac{60}k=0$$
or,
$$k\left(x+\frac{6}k\right)\left(y+\frac{10}k\right)=\frac{60}k-4$$
Then, set the RHS to zero to obtain $k=15$.