SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff80682b224432ef8a9827950a4eb382ed5ce631e35f0dad83c85de232b42717' 
  AND token = 'lhdZmWDiSF0weAdthjNOxQVO20gSIfeVMwaDeZEwzjU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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