delete_status = 0 and car_type != 2 and ul.client_id!=247 and  delete_status = 0  and  car_type != 2  and  daily_price_status='1' and (car_make in (SELECT id FROM `make` WHERE `cartype` in  (4) or `cartype1` in   (4) or `cartype2` in   (4) or `cartype3` in   (4) ) or  car_type in (4)) and ul.client_id in (select client_id from `clients` where emirate like  '%Ras Al Khaimah%') and ul.client_id!=247and cl.emirate='Ras Al Khaimah' and ul.delete_status = 0 and ul.publish_ocd = 1
Array
(
    [where] =>  delete_status = ? and car_type != ? and ul.client_id!=? and  delete_status = ?  and  car_type != ?  and  daily_price_status=? and (car_make in (SELECT id FROM `make` WHERE `cartype` IN (?) or `cartype1` IN (?) or `cartype2` IN (?) or `cartype3` IN (?) ) or  car_type IN (?)) and ul.client_id in (select client_id from `clients` where emirate like  ?) and ul.client_id!=?and cl.emirate=? and ul.delete_status = ? and ul.publish_ocd = ?
    [binds] => Array
        (
            [0] => 0
            [1] => 2
            [2] => 247
            [3] => 0
            [4] => 2
            [5] => 1
            [6] => 4
            [7] => 4
            [8] => 4
            [9] => 4
            [10] => 4
            [11] => %Ras Al Khaimah%
            [12] => 247
            [13] => Ras Al Khaimah
            [14] => 0
            [15] => 1
        )

)