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