In mysql, there's no way to insert info into one database via a select on another database (Oracle can do this, probably other dbs too).
But what's wrong with this?
CONNECT to DB1
SELECT col1, col2
FROM mytable
WHERE id BETWEEN 240, 500
fetch the array of the result
Then
Connect to DB2
INSERT INTO
myothertable
VALUES
($myfetchedcol1, $myfetchedcol2)
etc.
??
$