SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}Rafal{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}' OR prCity = 'Rafal' OR prZip = 'Rafal' OR prStreet LIKE '{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}Rafal{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}' OR prCountry = 'Rafal') AND (prLocation LIKE '{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}Spain{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}Spain{8fff4b6238385fc4b737e32e5ff0e291f3012afccc3ee4039d5c5336f93f660a}' OR prCountry = 'Spain')