CAML QUERY IN GET LIST ITEM

Hello Experts,
Am trying to come up with a caml query in the get list item to filter out based on two columns that is has access and access granted(can be either true or false) where I want to check and get only items from sharepoint list where has access column is true and access granted column is false

This is what i have done but am not sure how to implement for both:

True

This only gets the has access column

True
The caml query am using