SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7a30848a34a0ffb6b669f2f02953d551dd4ef2363b88796ca8074de8dff9cb05' 
  AND token = 'D3ASTqHMCLscmXVMubSMK7avUnyT6IUUtaKL5DPzvT0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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