After 2 min of thinking this is how I would change your database table structure:
CREATE TABLE IF NOT EXISTS `table` (
`qty_from` int(11) unsigned default NULL,
`qty_to` int(11) unsigned default NULL,
`price` decimal(10,2) unsigned NOT NULL default '0.00'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
This is how your records should look like:
1| 122 | null | 99 | 100 |
2| 122 | 100 | 199 | 80 |
3| 122 | 200 | null | 70 |
And this should be the query:
SELECT
*
FROM `table`
WHERE
IF(qty_from IS NOT NULL, IF(qty_from<250, true, false), true)
AND
IF(qty_to IS NOT NULL, IF(qty_to>250, true, false), true)
Something liike this ....