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