SQL query condition in cakephp

I have a condition array as below:

Array
(
    [Survey.soc_med] => Array
        (
            [0] => Facebook
        )

    [Clinical.hear_aids] => Yes
)

How to use this condition array inside a cakephp query?

Below is my query:

$result=$this->Customer->query("select Customer.id FROM tblcustomers as Customer JOIN tblsurveys as Survey ON Customer.id=Survey.customer_id JOIN tblclinicals as Clinical ON Customer.id=Clinical.customer_id");