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