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

Query time 0.00029

JSON explain

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