SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '242fa2890666f65dd98703155038277bb1c643d8a947dc20bbc3b2bf4a5e258b' 
  AND token = 'kfRI4+YkhVUE/gfFtCbEFyWm2IPXlNHnr5/K9Mao0Pk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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