```
Table Products
ad_id| property_id | property_value_id
69          4           1
69          7           6
69          6           3
67          7           6
...

```

For Example:

I need to search ((where property\_id = 4 and property\_value\_id = 1) and (where property\_id = 7 and property\_value\_id = 6))

Result should be: 69

The values im searching for are dynamic.