SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bf247e1b4575496f877cc119eae1bedfd95e15a1f2d606e049bcc3487b550fbd' 
  AND token = 'GJkqi8vFxttp78Y/s9LFVCv03rOC4mKT5hFN/bvtfN0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}