SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d63485b05c722235163fd93300e305bd8c0cbd274844058af96eb11ddf4756e' 
  AND token = 'x0tPkZhMHOIN0fEX63FzJxhA00b3GKzbMyblv7nEB9g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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