SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '140bf92e398354b50fbffc44e25e284747cece58521e56add42dfc2d73c70fed' 
  AND token = 'LN0TmQRtieCyrCbdCzLyuqz5vFek3xXQaKnnrm315w8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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