Search for multiple categories with and operator in WordPress


enter the description of the image here

I need a basic search of categories in which the conditions and the state coincide. I have tried but, and it does not work, it shows the category data.