SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba1ecc19f5d6025b9626c8ffd21604f7effa7e9bb952be0f94350fc7cd378b5b' 
  AND token = 'fwARNAgqE01QUEh6wOn7mVjTqYLkGOF+V92WIqF3FqA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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