SELECT
`id`,
UNIX_TIMESTAMP(`created`) as `created`,
UNIX_TIMESTAMP(`modified`) as `modified`,
`runMin`,
`runMax`,
`name`,
`comment`
FROM `runranges`
WHERE `runMin`='1'
  AND `runMax`='1000'
  AND `name`="asd"
