I don't know if anyone has this issue, but loading vehicles, checkpoints, etc. via database in OnGameModeInit using threaded queries is not possible. Or, maybe it is possible, I just don't know how.
I solved this. My problem was with the table. I attributed the wrong data type to fields holding float values. The vehicles are created although in server console is printed "Number of vehicles loaded: 0".